Encoding problems

Encoding problems

am 24.02.2005 17:34:22 von Zouari Fourat

Hello,
I have a problem when trying to insert data with accents (=E9,=E8,=E0,=E7 .=
...)
or arabic/chinese caracters.

here's a snapshot :

[root@apps applications]# psql -Ueserve -W -deserve -f output.sql=20
Mot de passe :=20
psql:output.sql:1: ERREUR: S=E9quence d'octets invalide pour le codage
=ABUNICODE=BB : 0xe96469

here's what output.sql contain :
INSERT INTO sms_mo("MsgId","DA","SOA","Content","Msg","TimeCreated")
VALUES('3','216123456','33437376969','Le cr=E9dit d','Le cr=E9dit de votre
compte est bas : charger.','Oct 27 2004 5:00PM');

when replacing the '=E9' with 'e' it works fine...
how to do to setup postgresql server to accept this kind of charset ?

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org