Skip to Content.
Sympa Menu

freetds - Re: [freetds] Cannot send UTF-8 chars to MSSQL 2008

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Craig A. Berry" <craigberry AT mac.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Cannot send UTF-8 chars to MSSQL 2008
  • Date: Wed, 02 Jun 2010 07:33:28 -0500


On Jun 2, 2010, at 4:29 AM, Niklas Lampén wrote:

-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
bounces AT lists.ibiblio.org] On Behalf Of Daniel Fazekas
Sent: 2. kesäkuuta 2010 11:47

[AavaDb2]
host = *****
client charset = UCS2

Simply change the client charset line to read UTF-8.


Thank you for your reply.

Unfortunately this did not solve my problem

You might want to set TDSDUMPCONFIG and TDSDUMP in your environment and review the resulting logs to see what client character set you're actually getting. You might also try applying the patch from:

<https://lists.ibiblio.org/sympa/arc/freetds/2010q2/026008.html>

which I think should do a better job than the existing code at allowing freetds.conf to override the character set, though no guarantees it will work in your situation (however, it would be nice to have the confirmation if it does).

I hope to get that patch checked in soonish, which could be a day or a week or ...

________________________________________
Craig A. Berry
mailto:craigberry AT mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser





Archive powered by MHonArc 2.6.24.

Top of Page