freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Charset conversion Polish
- Date: Fri, 6 May 2005 17:23:05 +0200
>
> In my system is not available the iconv library, so I modified the
> built-in iconv substitute in FreeTDS to accept different charset (
> CP1250, CP1254, CP1256, CP1251 ).
> Now when I read data from the SQL Server I receive data correctly.
> When I write on the server, I write the correct Unicode buffer ( I
> checked on freetds.log), but the server convert my character
> before save
> on DB, so after if I'll read the same buffer it will be different (
> checked on freetds.log).
>
> So if I write a polish char to SQL Server installed in US WinXp it
> doesn't work.
> If I write a polish char to SQL Server installed in Polish WinXp it
> works.
>
> It seems like if I need to specify to the Server the charset that I
> using on client.
>
> Why?
>
> Thanks
> Flaviano
>
Accept different charset means that you coded conversion for all your
required charset? Then it should work. Have you tried to compile and use
libiconv? Do you post data using normal sql statement or prepared one?
Does the server reply correctly? Do char column have proper charset?
freddy77
-
RE: [freetds] Charset conversion Polish,
FlavianoMa, 05/05/2005
- <Possible follow-up(s)>
- RE: [freetds] Charset conversion Polish, ZIGLIO, Frediano, VF-IT, 05/06/2005
- RE: [freetds] Charset conversion Polish, Lowden, James K, 05/06/2005
Archive powered by MHonArc 2.6.24.