PHP and Unicode
Scott Reynen shows how to use integer arrays in PHP to handle Unicode manually.
There are also functions available called the Multi-Byte String Functions which handle many encodings. Please ignore the part in the documentation that says that this is “developed to handle Japanese characters.” It actually appears to handle lots of encodings including the Unicode ones. However it is turned off by default so you must recompile PHP to enable it.