Smallest UTF32 to UTF8 converter
by Bastian Blank — last modified Oct 23, 2008 11:44 AM
http://bblank.thinkmo.de/blog/archive/2008/09/13/smallest-utf32-to-utf8-converter
Counting Characters in UTF-8 Strings Is Fast
http://canonical.org/~kragen/strlen-utf8.html
一篇很不错介绍UTF-8的文章 UTF-8: The Secret of Character Encoding
http://htmlpurifier.org/docs/enduser-utf8.html
COUNTING CHARACTERS IN UTF-8 STRINGS IS FAST(ER)
http://porg.es/blog/counting-characters-in-utf-8-strings-is-faster
我也不是很明白。备用吧。
Comments