Special (Nordic) characters in MySQL

admin

Administrator
Staff member
Hi!

I have cells in a MySQL database containing nordic characters, for example ?br />
and ? When I run a normal query in the MySQL client the characters are
displayed the way they should be. But when I use PHP to run the query and
then echo the result, ?is converted to a ?-sign (haven't tried other
special characters). But PHP itself supports these characters, when I write
echo ('邃?) the characters are displayed the way they should be.
Using setlocale() hasn't helped...

Does anyone know how to get PHP to process the result from mysql_... -commands
so that the characters are displayed correctly?

Thanks in advance,

Johan
 
Back
Top