X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3F9F0475AD4 for ; Thu, 20 Feb 2003 05:05:27 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 27273-08 for ; Thu, 20 Feb 2003 05:05:16 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 42451474E5C for ; Thu, 20 Feb 2003 05:04:44 -0500 (EST) Received: (qmail 28210 invoked from network); 20 Feb 2003 10:04:45 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 20 Feb 2003 10:04:45 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id TAA15627; Thu, 20 Feb 2003 19:04:38 +0900 (JST) Message-ID: <3E54A8D9.E4EDDCEC@tpf.co.jp> Date: Thu, 20 Feb 2003 19:07:21 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Marcus Better Cc: pgsql-odbc@postgresql.org Subject: Re: Unicode, ODBC and MS Access References: <000701c2d8c4$283d70a0$e79e65d5@KELEV> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/90 X-Sequence-Number: 2708 Marcus Better wrote: > > Hello, > > I have some problems which I think have to do with Unicode strings in > Windows. > > Currently, my database is set to Unicode encoding (which I understand means > UTF-8). I use Windows-based programs (running on .NET) through ODBC to > insert some text in UCS-2 encoding. > > Now when I try to read that data using the same client program, it > sometimes truncates long strings (after a few hundred characters or so). > > Moreover, if I access the same tables using Access XP, in most cases the > text is garbled. I see only fragments of the text, with garbage characters > in it, or in some cases no text at all. > > What is the correct way to set up a database (with appropriate encoding) > and ODBC drivers so that Windows programs can read and write Unicode text > (UCS-2)? Which driver are you using ? regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/