X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C3E82475B07 for ; Thu, 20 Feb 2003 04:41:35 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 20495-10 for ; Thu, 20 Feb 2003 04:41:19 -0500 (EST) Received: from sholem.dactylis.com (h159n1fls31o1111.telia.com [213.67.142.159]) by postgresql.org (Postfix) with ESMTP id B384047595A for ; Thu, 20 Feb 2003 04:41:03 -0500 (EST) Received: from kakmonster.dactylis.com (kakmonster.dactylis.com [192.168.1.2]) by sholem.dactylis.com (8.12.6/8.12.6) with ESMTP id h1K9f0Vm031993 for ; Thu, 20 Feb 2003 10:41:04 +0100 (CET) Received: from KELEV (m213-101-158-231.swipnet.se [213.101.158.231]) by kakmonster.dactylis.com (8.12.5/8.12.5) with SMTP id h1K9emL2006487 for ; Thu, 20 Feb 2003 10:40:54 +0100 Message-ID: <000701c2d8c4$283d70a0$e79e65d5@KELEV> From: "Marcus Better" To: Subject: Unicode, ODBC and MS Access Date: Thu, 20 Feb 2003 10:40:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MailScanner: Found to be clean X-MailScanner-SpamScore: s X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/89 X-Sequence-Number: 2707 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)? Thanks, Marcus B.