I have a problem on displaying “ñ” when I used javascript(ajax) to send to my callback url I used
escape(str)
then the php callback file will save it to mySQL, the field data type is in VARCHAR, when I look into the phpMyAdmin, the value is okay, it is “ñ” but when I retrieve it and display it, it shows diamond symbol with a “?” on it.
do I have to use a code to return it to “ñ” ?
I already used urlencode & urldecode. But it displays a more complicated value.
I have two displays. I retrieved the variable and display it on html/XML using ajax. And I also use the same variable displayed in a PDF file format. The PDF file displayed “ñ”, but the HTML/XML displays the strange “?” value.
Thanks for the help.