[freetds] Found solution for Bulk insert problem with nvarchar(n) where n=odd number

Alexander Larkin sasha at chuhloma.ru
Wed Jul 1 09:40:08 EDT 2009


For some reason this message is not visible (http://lists.ibiblio.org/pipermail/freetds/2009q3/), so sending it again:

I've just found that if I set client charset in [global] of freetds.conf like

client charset = UTF8

instead of

; client charset = UTF8

then problem described before goes away.
I attach the program sample that reproduces the problem again (this time with terminator), because one attachment that I sent before was with modifications for NVARCHAR.

Regards,
Sasha.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_nvarchar.c
Type: text/x-csrc
Size: 2741 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20090701/79d5a4e4/attachment-0001.bin 


More information about the FreeTDS mailing list