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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -