From: Jean-Michel POURE <jm.poure@freesurf.fr>
To: Nhan Ngo Dinh <nngodinh@tiscali.it>
To: pgsql-odbc@postgresql.org
Subject: Re: Unicode support
Date: Mon, 11 Feb 2002 18:22:14 +0100
Message-ID: <200202111722.g1BHMFF18273@www1.translationforge> (raw)
In-Reply-To: <5.1.0.14.0.20020203205617.009d1200@pop.tiscalinet.it>
References: <5.1.0.14.0.20020203205617.009d1200@pop.tiscalinet.it>
Le Dimanche 3 Février 2002 21:26, Nhan Ngo Dinh a écrit :
> Any idea?
The only problem is with Arabic, right? Export schema and data separately
from MS SQL Server.
1) Import the schema file in PostgreSQL directly in Latin1.
2) Translate the data file to UFT-8 under Linux using recode or iconv:
- iconv -f arabic_enconding_name -t utf-8 filename.txt
- recode arabic_enconding_name..u8 file_name.txt
A good manual can be found here :
http://www.iro.umontreal.ca/contrib/recode/HTML/recode.html
3) Use pgAdmin2 or pgsql \copy statement to import the file.
Please note that Access2000 and PgAdmin 2 do not support Unicode. This was an
issue for us at pgAdmin Team and the answer is "there is no unicode support
although $M claims there is". You have to wait for Windows ZX 2439, which
will take place in more than 300 years and 134 Windows upgrades. So prepare a
cryogenic place and wait until UTF-8 is added to Access.
On the converse PHP supports unicode very well. Do not hesitate to write me
back for further information.
Cheers,
Jean-Michel POURE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: jm.poure@freesurf.fr, nngodinh@tiscali.it
Subject: Re: Unicode support
In-Reply-To: <200202111722.g1BHMFF18273@www1.translationforge>
References: <5.1.0.14.0.20020203205617.009d1200@pop.tiscalinet.it> <200202111722.g1BHMFF18273@www1.translationforge>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox