Received: from www1.translationforge ([212.11.36.58]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BHMrE41875 for ; Mon, 11 Feb 2002 12:22:56 -0500 (EST) (envelope-from jm.poure@freesurf.fr) Received: from there ([192.168.1.102]) by www1.translationforge (8.11.6/8.11.6) with SMTP id g1BHMFF18273; Mon, 11 Feb 2002 18:22:15 +0100 Message-Id: <200202111722.g1BHMFF18273@www1.translationforge> Content-Type: text/plain; charset="iso-8859-1" From: Jean-Michel POURE Reply-To: jm.poure@freesurf.fr Organization: Translationforge To: Nhan Ngo Dinh , pgsql-odbc@postgresql.org Subject: Re: Unicode support Date: Mon, 11 Feb 2002 18:22:14 +0100 X-Mailer: KMail [version 1.3.1] References: <5.1.0.14.0.20020203205617.009d1200@pop.tiscalinet.it> In-Reply-To: <5.1.0.14.0.20020203205617.009d1200@pop.tiscalinet.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id g1BHUxU52273 X-Archive-Number: 200202/21 X-Sequence-Number: 1333 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