Skip to Content.
Sympa Menu

freetds - [freetds] Character conversion (how to stop it)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Plot Lost <plot.lost AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Character conversion (how to stop it)
  • Date: Sun, 29 Nov 2009 21:20:27 +0400

Is there any way to get freetds to simply leave the data alone and not do
any iconv conversion or anything else.

i.e. the char type data is left untouched in whatever codebase the server is
using, and nchar type data is left untouched as ucs2.

Porting some code written using sybase ctlib to use freetds and sql server,
all of the code manipluates all of the data as ucs2, and it's going to add
considerable overhead (and wasted effort) to keep converting ucs2 from the
database into utf8 in freedts back into ucs2 for the code to deal with and
back again the other way.

All of the iconv stuff seems fairly well embedded into it, and I could not
see a simple way of striping it out or disabling it. Anyone have any
pointers as to how this can be done.



  • [freetds] Character conversion (how to stop it), Plot Lost, 11/29/2009

Archive powered by MHonArc 2.6.24.

Top of Page