Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: encoding pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 3155 of 3323
Post > Topic >>

Re: encoding problem when creating a database

by sszabo@[EMAIL PROTECTED] (Stephan Szabo) Jul 2, 2008 at 10:00 AM

On Wed, 2 Jul 2008, A B wrote:

> alright, now I have created a new db-cluster with initdb -E UTF8
> --locale=C and the encoding problem still remains when trying to
> access with PHP.
>
> Error ERROR: invalid byte sequence for encoding "UTF8": 0xe56e69 HINT:
This
> error can also happen if the byte sequence does not match the encoding
> expected by the server, which is controlled by "client_encoding".

That sequence isn't valid UTF8. What encoding is the PHP script trying to
send data in? If it's something other than UTF8 (for example ISO8859-1),
you need to set client_encoding to the correct encoding.

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 6 Posts in Topic:
encoding problem when creating a database
gentosaker@[EMAIL PROTECT  2008-07-02 15:52:23 
Re: encoding problem when creating a database
andreas.kretschmer@[EMAIL  2008-07-02 16:01:18 
Re: encoding problem when creating a database
gentosaker@[EMAIL PROTECT  2008-07-02 16:11:35 
Re: encoding problem when creating a database
gentosaker@[EMAIL PROTECT  2008-07-02 16:55:35 
Re: encoding problem when creating a database
tgl@[EMAIL PROTECTED] (T  2008-07-02 12:48:06 
Re: encoding problem when creating a database
sszabo@[EMAIL PROTECTED]   2008-07-02 10:00:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:42:48 CST 2008.