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.
You’re reading Joel on Software, stuffed with years and years of completely raving mad articles about software development, managing software teams, designing user interfaces, running successful software companies, and rubber duckies.