From: | Zouari Fourat <fourat(at)gmail(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Encoding problems |
Date: | 2005-02-24 16:34:22 |
Message-ID: | 621eda8a05022408343ec8b6e2@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Hello,
I have a problem when trying to insert data with accents (é,è,à,ç ...)
or arabic/chinese caracters.
here's a snapshot :
[root(at)apps applications]# psql -Ueserve -W -deserve -f output.sql
Mot de passe :
psql:output.sql:1: ERREUR: Séquence d'octets invalide pour le codage
«UNICODE» : 0xe96469
here's what output.sql contain :
INSERT INTO sms_mo("MsgId","DA","SOA","Content","Msg","TimeCreated")
VALUES('3','216123456','33437376969','Le crédit d','Le crédit de votre
compte est bas : charger.','Oct 27 2004 5:00PM');
when replacing the 'é' with 'e' it works fine...
how to do to setup postgresql server to accept this kind of charset ?
From | Date | Subject | |
---|---|---|---|
Next Message | Raul Secan | 2005-02-25 15:53:34 | maximum varchar length |
Previous Message | Christopher Kings-Lynne | 2005-02-24 09:22:22 | Re: permission problems |