Thread: [ODBC] Translation Latin 2 (8859-2) and Windows-1250

[ODBC] Translation Latin 2 (8859-2) and Windows-1250

From
"SLADEK Petr"
Date:
Hi everyone,

I have made slight changes in "psqlkoi8.dll"
made by Aleksey Demakov <avd@gcom.ru>
to support character translation between
Latin2 (8859-2) and Windows1250 charset
for Insight Postgres SQL ODBC driver 6.5.0

I have posted sources and new DLL library to
my server http://pessoft.scifi.cz/public/ so you
can take it from there. If should be nice to include
it into PSQLODBC download page located at
ftp://ftp.postgresql.org/pub/odbc/psqlodbc_download.html
to help other Czech and Slovak users get correct
locale language support. I have tested it between
RedHat + PostgreSQL 7.0.2 with Latin2 locale and
Windows 98SE CZ + Visual FoxPro 5.0CZ and it
works OK.

Happy PostreSQLing...
   PeS+
-------------------------------------------------
Petr SLADEK alias PeS+ <pes.alt@post.cz>
Czech SF&F server / [PeS+] software





Re: [ODBC] Translation Latin 2 (8859-2) and Windows-1250

From
Tomaz Borstnar
Date:
At 10:21 21.1.01, SLADEK Petr wrote:
>Hi everyone,
>
>I have made slight changes in "psqlkoi8.dll"
>made by Aleksey Demakov <avd@gcom.ru>
>to support character translation between
>Latin2 (8859-2) and Windows1250 charset
>for Insight Postgres SQL ODBC driver 6.5.0

Why was this necessary? Doesn't driver do this already if you use connect 
string where you set your client encoding to 1250?

Tomaz