I'm accessing a MS SQL Server 2008 R2 database via ODBC (32-Bit SQL-Server driver) to get some data with special characters in them. When I var_dump
the data with the special characters in php (windows console not in browser) I don't get the correct characters (e.g. "³" for "ß").
I've tried to change the collation but I don't really know which one to use to get the correct characters.
The mssql column is a varchar
with collation Latin1_General_CI_AS
.
And in the ODBC configuration I marked the "perform translation for character data".
I've been searching for hours now but haven't anything of use yet. Any ideas?