I have a database in chinese character when I tried to show it as an xml it shows "????" instead of the chinese character, what must I do? I tried to encode it but so far no luck.
The other database when storing to mysql at phpmyadmin will show funny character but i could retrieve it as chinese character however this time it stores in chinese character.
UTF 8 not working?
Moderator: General Moderators
Re: UTF 8 not working?
What is the charset of the database? charset of the connection? what is your code to display the XML? do you pass proper content-type header?
Re: UTF 8 not working?
I found out what was the problem, because the way they save it is using UTF-8 the way to pull it out is using PHP function "pack".