X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D2E1C528C2 for ; Thu, 4 Aug 2005 09:37:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24077-04 for ; Thu, 4 Aug 2005 12:37:44 +0000 (GMT) Received: from vserver0202.onit4u.de (ns.redaex.de [213.133.112.5]) by svr1.postgresql.org (Postfix) with ESMTP id 95BAF528D7 for ; Thu, 4 Aug 2005 09:37:42 -0300 (ADT) Received: from JOOPS2.JOOPS.INTERN (dialin-212-144-016-057.arcor-ip.net [212.144.16.57]) by vserver0202.onit4u.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id j74CbgZ30747; Thu, 4 Aug 2005 14:37:42 +0200 Received: from joops.com (Workstation-44 [192.168.10.44]) by JOOPS2.JOOPS.INTERN (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA02049; Thu, 4 Aug 2005 14:37:12 +0200 Message-ID: <42F20B91.9060406@joops.com> Date: Thu, 04 Aug 2005 14:35:29 +0200 From: Josef Springer Organization: JOOPS Informationstechnik GmbH User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: Usind database with encoding UNICODE and vovel References: Content-Type: multipart/alternative; boundary="------------010200000300000108050502" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.461 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_60_70, HTML_MESSAGE, HTML_TAG_EXIST_TBODY X-Spam-Level: X-Archive-Number: 200508/52 X-Sequence-Number: 5691 --------------010200000300000108050502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable He Dave, as other wrote, there should be an encoding problem with Windows 2000. My Environment: Windows 2000 internal version: 5.0.2195; SP 2 Germal locale PostgreSQL: 8.0.3 ODBC driver: 8.00.01.01 (5. March 2005) No MDAC Setting the encoding in the odbc driver (DNS) has no effect. I made some tests: Database encoding Client encoding Wrinting column (=E4=F6=FC=DF) Reading column UNICODE LATIN1 OK corrupted in app UNICODE UNICODE corrupted in database (writing =DF -> error character is a bad UNICODE) OK Written data was verified with PgAdminIII Best Regards, Josef Springer Dave Page wrote: > =20 > > > -------------------------------------------------------------------= ----- > From: Josef Springer [mailto:Josef.Springer@JOOPS.COM] > Sent: 04 August 2005 09:45 > To: Dave Page > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Usind database with encoding UNICODE and vovel > Importance: Low > > Hi Dave, > > thanks for quick answer. > > * I used Win2k with german locale =20 > > I've tested in German as well now, and it still works OK=20 > > * Used the ODBC 08.00.0101 (psqlodbc.dll) =20 > > You should definately use 08.01.0003. It fixes a major Unicode related = > bug. > > =20 > > My application works well with other databases. > Is a point of this the reason of my problems ? > > What locale settings did you use for database and client ? =20 > > =20 > > The database is using 'C' for everything. The clients are all default=20 > - ie. I've tried German (Germany) and English (UK). > > =20 > > Regards, Dave. > --------------010200000300000108050502 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit He Dave,

as other wrote, there should be an encoding problem with Windows 2000.

My Environment:
Windows 2000 internal version: 5.0.2195; SP 2
Germal locale
PostgreSQL: 8.0.3
ODBC driver: 8.00.01.01 (5. March 2005)
No MDAC

Setting the encoding in the odbc driver (DNS) has no effect.

I made some tests:
Database encoding
Client encoding
Wrinting column (äöüß)
Reading column
UNICODE
LATIN1
OK
corrupted in app
UNICODE
UNICODE
corrupted in database (writing ß -> error character is a bad UNICODE)
OK

Written data was verified with PgAdminIII

Best Regards,
Josef Springer

Dave Page wrote:
Signature
 


From: Josef Springer [mailto:Josef.Springer@JOOPS.COM]
Sent: 04 August 2005 09:45
To: Dave Page
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Usind database with encoding UNICODE and vovel
Importance: Low

Hi Dave,

thanks for quick answer.
  • I used Win2k with german locale   
I've tested in German as well now, and it still works OK 
  • Used the ODBC 08.00.0101 (psqlodbc.dll)   
You should definately use 08.01.0003. It fixes a major Unicode related bug.
 
My application works well with other databases.
Is a point of  this the reason of my problems ?

What locale settings did you use for database and client ?  
 
The database is using 'C' for everything. The clients are all default - ie. I've tried German (Germany) and English (UK).
 
Regards, Dave.
--------------010200000300000108050502--