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: Daniel Fazekas <fdsubs AT t-online.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Cannot send UTF-8 chars to MSSQL 2008
  • Date: Fri, 4 Jun 2010 10:41:53 +0200

On Jun 4, 2010, at 07:57, Niklas Lampén wrote:

>>> 1> UPDATE Mod_Texts SET ContentData='foo Найти' WHERE ContentId=6824;
>> Is that field even capable of storing Cyrillic letters?
> Yes, it is. The field is NVARCHAR and if I use Microsoft SQL Server
> Management Studio, I can insert that string in it and fetch it correctly
> with FreeTDS.

Try inserting it like this instead:

ContentData=N'foo Найти'

Note the extra N before the quotes.





Archive powered by MHonArc 2.6.24.

Top of Page