[freetds] Re: Problem Euro Symbol PHP 4.3.9 FreeTDS 0.62.4 TDS-Version 8.0

Daniel Fazekas fdsubs at axelero.hu
Mon Nov 22 11:47:53 EST 2004


On Nov 22, 2004, at 16:42, ansuzgardareiwo at gmx.de wrote:

> i have the following problem:
> If I try to write or read a Euro Symbol from / to a SQL-Server 2000, 
> there
> is a question mark in the result set / table.

You will have to use a different character encoding by setting the 
"client charset" option in your freetds.conf file.

iso-8859-1 doesn't contain the Euro sign.

Of the single-byte encodings, iso-8859-9 will have it, if it's 
supported by your system's iconv library. Depending on the age of your 
system, windows-1252 a.k.a cp1252 (Windows Latin 1) should also have 
it.

And of course it's in utf-8, but your software probably isn't ready to 
handle utf-8 data or you'd be using it already and not having problems 
with any character.

--
fds



More information about the FreeTDS mailing list