pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josef Springer <Josef.Springer@JOOPS.COM>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Usind database with encoding UNICODE and vovel
Date: Thu, 04 Aug 2005 14:35:29 +0200
Message-ID: <42F20B91.9060406@joops.com> (raw)
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC97B7@ratbert.vale-housing.co.uk>

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:

>  
>
>
>     ------------------------------------------------------------------------
>     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.
>

view thread (21+ messages)  latest in thread

Message-ID: <42F20B91.9060406@joops.com>
Permalink:  ../42F20B91.9060406@joops.com/
Also on:    postgresql.org/message-id/42F20B91.9060406@joops.com

 · 

reply

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: Josef.Springer@JOOPS.COM, dpage@vale-housing.co.uk
  Subject: Re: Usind database with encoding UNICODE and vovel
  In-Reply-To: <42F20B91.9060406@joops.com>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC97B7@ratbert.vale-housing.co.uk> <42F20B91.9060406@joops.com>

* 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