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: Niklas Lampén <Niklas.Lampen AT eventusmedia.fi>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Cannot send UTF-8 chars to MSSQL 2008
  • Date: Wed, 2 Jun 2010 12:29:52 +0300

> -----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, thought it made a small change:

rpc.c:171:dbrpcparam(0x8626028, @Content, 0x0, 35, -1, 11, 0x8b45790)

changed to

rpc.c:171:dbrpcparam(0x845ab40, @Content, 0x0, 35, -1, 10, 0x8acda44)

but the error is still the same.

I've tried to change settings in php.ini (mssql.charset), too, but that
doesn't seem to have any effect unless charset is set to "UCS2", which makes
queries to fail. I guess that is something to be expected.


Niklas



Archive powered by MHonArc 2.6.24.

Top of Page