Sorry, I red this has been already discussed but I'm still stuck.
I need to retreive from a mysql database some strings that contain characters like "ç", "ñ" and so on.
I read them using a PHP script and the
Response.GetString("UTF-8")
function where Response is a HttpResponse.
I tried to encode the mysql field using several UTF-8 variations but all of them return a truncated string where the irrugual char is.
I.E. "Française" becomes "Fran"
Any idea ? Could the problem be into the PHP script ? I use json_encode that uses Unicode only and converts those character into \uxxx format.
I tried to decode the string using:
Response.GetString("ISO-8859-1")
That should be the Unicode regulamentation but the result is the same.
Any idea ?
I need to retreive from a mysql database some strings that contain characters like "ç", "ñ" and so on.
I read them using a PHP script and the
Response.GetString("UTF-8")
function where Response is a HttpResponse.
I tried to encode the mysql field using several UTF-8 variations but all of them return a truncated string where the irrugual char is.
I.E. "Française" becomes "Fran"
Any idea ? Could the problem be into the PHP script ? I use json_encode that uses Unicode only and converts those character into \uxxx format.
I tried to decode the string using:
Response.GetString("ISO-8859-1")
That should be the Unicode regulamentation but the result is the same.
Any idea ?