Re: Unicode problem ???

From: "Priem, Alexander" <ap(at)cict(dot)nl>
To: 'Stijn Vanroye' <s(dot)vanroye(at)farcourier(dot)com>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unicode problem ???
Date: 2004-04-21 14:34:23
Message-ID: 2A07EC2D0BC2774AAD6F74769F60D52A083304@ahmose.cict_ad.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Stijn,

I tried adding "set client_encoding to 'LATIN1'" to the Connect Settings of
psqlODBC. It didn't help. I still get the same weird characters when I look
at the data using SQL explorer.

Could this be due to the fact that the database was CREATED using SQL_ASCII
encoding? Maybe your solution only works when the database was created using
LATIN1 or UNICODE encoding.

The strange thing is that everything is FINE when I use phpPgAdmin to look
at the data, so there must be a conversion problem somewhere in the ODBC
layer...

Maybe I'll just try recreating the database using UNICODE or LATIN1 encoding
tomorrow. UNICODE seems the best, right? Or does LATIN1 have more
possibilities than UNICODE?

Groeten vanuit Veenendaal,

Alexander.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stijn Vanroye 2004-04-21 14:48:50 Re: Unicode problem ???
Previous Message Michael Chaney 2004-04-21 14:30:00 Re: [OT] Tom's/Marc's spam filters?