Friday, August 04, 2006

Unicoder Victory

Despite feeling like shit yesterday, I managed to write UTF-8 functions for JavaScript. Today I even popped in the UTF-16 functions (which just translate between raw code points and possible surrogate pairs) which then gave me the knowledge to finish off the UTF-8 stuff (surrogate pairs are properly decoded to their 20-bit code point before being re-encoded into UTF-8).

No comments: