Andrew's Stuff

UTF-8 Support

Posted at Sun, 30 Sep 2007, 12:54:50

After spending ages working with UTF-8 the other day, as I mentioned in my previous post, I've finally added UTF-8 support to this site. Both comments and posts by me are now able to contain all kinds of crazy characters without resorting to complex HTML entities!

Examples:

多分意味を成さない このテキストは少なくとも、マルチバイトキャラクターサポートを説明します!

這篇文字不可能有意義,但是至少將顯示多位元的特性支持!

Этот текст вероятно не имеет смысла, но будет по крайней мере демонстрировать поддержку характера мультибайта!

Now I just need to go and sort out PHP's string functions so that they don't do stupid things with multi-byte characters...

blog comments powered by Disqus