A clone of http://sourceforge.net/projects/phputf8