Text / characters from database apperas as question mark in the HTML
Posted on 2006-04-14
I was installed MySql 5.0.19-nt on my local machine and imported data into it from sql scripts.
The data was successfully imported, and I can see the text correctly. Just to mention that the data was NOT in utf, but was normal ASCII.
The problem I'm having is that when I pull data from the database, I get all the text as question mark. All of my php files are NOT utf and on the header of the HTML page I set the character set of the page.
Also I can see that the default charset of the tables on the DB are utf-8, though the default char set variable is latin1.
How do I solve this problem?