For some weeks I keep googling for solutions to a problem with my Webserver.
For some reason (still have no clue why), characters from a MySQL DB, "Ș", "Ț" & "Ă" is parsing to my PHP webpage as "?" and "Î", "Â" is parsing as the diamond question mark. DB charset is UTF8, PHP page header is UTF8. I tried iso8859-2 (Eastern European Charset), the diamond question mark disappears and "Î" and "Â" take its place, but the other ones does not change at all, still a question mark appears instead of the original Character. DB CHARSET = utf8 TBL COLLATION = utf8-romanian-ci
Where am I doing wrong?
mysql> show variables like 'char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
HTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
I'd appreciate any suggestion and/or guidance.