Archive for Dezember, 2007

UTF8 with PHP and MySQL

Dienstag, Dezember 11th, 2007

There are still a lot of problems when converting a site from latin to UTF8.

Here a some links which describe what has to be done and how:

Unicode Theory:



MySQL 4.1 und Zeichensätze

Using UTF-8 with UltraEdit

PHP 6/Unicode design document

Andrei Zmievski’s presentations

Unicode Consortium reference point

The ICU Library at the core of PHP 6

Joel Spolsky’s introduction to Unicode

Handling UTF-8 with PHP


PHP UTF-8 is a UTF-8 aware library of functions mirroring PHP’s own string functions. Does not require PHP mbstring extension though will use it, if found, for a (small) performance gain.