Skip to Content.
Sympa Menu

freetds - Re: [freetds] client charset, character data encoding

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: LacaK <lacak AT zoznam.sk>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] client charset, character data encoding
  • Date: Fri, 16 Sep 2011 10:32:11 +0200

Frediano Ziglio wrote / napĂ­sal(a):
2011/9/13 LacaK <lacak AT zoznam.sk>:
Hi,
I have problems with correct character data encoding, when reading data from
MS SQL Server (using DB-Lib), where I have table with char/varchar columns,
which use CP1250 encoding .
My freetds.conf is:
[global]
tds version = 7.2
client charset = UTF-8
dump file = freetds.log

From freetds.log:
log.c:196:Starting log file for FreeTDS 0.83.dev
on 2011-09-13 08:45:51 with debug flags 0x4fff.
iconv.c:337:tds_iconv_open(026B0860, UTF-8)
iconv.c:312:Using trivial iconv

This tell that you compile FreeTDS without iconv support. In this case
CP1250 is not supported. You should enable iconv support (probably you
don't have development libraries for libiconv).
Thank you all very much.
It makes sense for me now.
Now, I have downloaded "iconv" from http://www.gnu.org/s/libiconv/ is it right version ?
How to compile with this version ? is it complicated ?
(I am not C++ developer, and I compile under windows with MS C++ 2005)
If it is not complicated can you help me what to do ?
TIA
-Laco.





Archive powered by MHonArc 2.6.24.

Top of Page