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

Re: encoding problem when creating a database

by gentosaker@[EMAIL PROTECTED] ("A B") Jul 2, 2008 at 04:55 PM

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".

I'm really lost on what to do with this.
Any ideas anyone?

2008/7/2 A B <gentosaker@[EMAIL PROTECTED]
>:
>> You have created the db-cluster with sv_SE.iso88591. Because of this,
>> you can't now create a db with an incompatible locale.
>
> Oh, so i need to run something like
> initdb -E UTF8  --pgdata XXX
> to create a new db-cluster?
> What about the --locale option? Something I need to do with that?
>
> What should let XXX be? I have all the stuff in /var/lib/pgsql/ and
> I'd like to put it all there.
>
> Do I have to do something after createing a new db-cluster or can I
> start createing databases as ususal?
>

-- 
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 Mon Oct 13 2:24:44 CDT 2008.