Re: Cannot send UTF-8 chars to MSSQL 2008

Niklas Lampén <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] 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
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.