Skip to Content.
Sympa Menu

freetds - RE: [freetds] What happened to tds_set_charset?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] What happened to tds_set_charset?
  • Date: Fri, 30 Jan 2004 17:48:52 +0100

>
> Does tds_set_charset not exist in the current stable release
> of freetds
> (0.62.1)?
>
> Using tdsver 7.0 it doesn't seem to exist in the lib. The
> documentation still
> lists it as a valid function
>
> [box]-[root] /usr/local/src/freetds-0.62.1* nm
> /usr/local/lib/libtds*|grep -i tds_set_charset
> [box]-[root] /usr/local/src/freetds-0.62.1* echo $?
> 1
>
> Not there.. The only reference to the function in the src
> code is in the docs,
> doc/tds_layer.txt
>
>
> Any idea when this changed, or why?
>
> Thanks!
>

I don't remember very well but I think it has been changed to
tds_set_client_charset.
There ware two separate function (one for client and one for server)
however it was better to set server charset using client charset (or a
nearest one). We do not still convert character data from Sybase so it's
better to use the same coding and mssql (7 or newer) use always UCS2
(for metadata) and server encoding (other data).

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page