SQL Server - Special characters not recognise by PHP (ODBC) -
I am trying to display some information from my PHP site from SQL Server. I am using an ODBC connection for that one
My point is: special characters are not being identified and it is displaying "question marks (?)" In my site (this is my second ASP works in the site)
What am I missing here? Please help me
Thanks in advance
I use some special MSSQL query converter and then ICONV in PHP side like this:
select cast (comments as text) comments from r_table;
And in PHP, this code is in codepage 1255:
iconv ('CP1255', 'UTF-8', $ comment);
Hope that helps.
Comments
Post a Comment