Hello,
here some hints to ensure proper UTF-8 usage:
1) Use PHP-Header:
Code: Select all
header('Content-Type: text/html; charset=UTF-8');
2) Use HTML meta tag
3) Set the database connection charset when connecting to the database (Choose one, depending on your application):
mysqli_set_charset / SET NAMES utf8 / PDO-DSN connection string "mysql:host=...;port=...;dbname=...;charset=utf8;"
4) Check the database charset of the database / tables (eg. with phpMyAdmin)
There are more places to check, depending on you application.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de -
http://www.keyhelp.de
**************************************************************