I am having problems getting characters from Slavic languages, like Š
. When they are included in output, they appear as the diamond question mark symbol.
My database connection is set to utf8 using:
@mysql_query("SET NAMES 'utf8_unicode_ci' COLLATE 'utf8_unicode_ci'");
Most multilingual characters appear on screen. I'm not sure that I have properly set up the charset. It seems to work in Hungarian, Spanish, Portuguese, just not Slavic!
Where could the problem be?
The field has a multitude of possible characters in it, which makes it impossible to choose a specific non-utf8 charset like latin2.
This is a brand new database, created from scratch. phpMyAdmin shows the characters on screen, so I guess the problem isn't with MySQL, but is PHP. However, I have set up the proper utf8 declarations.