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 5 of 6 Topic 3155 of 3255
Post > Topic >>

Re: encoding problem when creating a database

by tgl@[EMAIL PROTECTED] (Tom Lane) Jul 2, 2008 at 12:48 PM

"A B" <gentosaker@[EMAIL PROTECTED]
> writes:
> 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".

What encoding is your PHP script actually working in?  It's apparently
not UTF8.

			regards, tom lane

-- 
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 Sun Oct 12 9:25:20 CDT 2008.