Re: client charset, character data encoding

LacaK <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Frediano Ziglio  wrote / napísal(a):
> 2011/9/13 LacaK <[email protected]>:
>   
>> 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.

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.