http://www.360doc.com/content/11/0310/21/3700464_100011486.shtml: java string常用方法
http://zh.wikipedia.org/wiki/UTF-16: 注意surrogate pair: unicode的d800-dfff不做任何编码。该段保留用作utf8的辅助编码字段。
http://zh.wikipedia.org/wiki/UTF-32
http://stackoverflow.com/questions/119328/how-do-i-truncate-a-java-string-to-fit-in-a-given-number-of-bytes-once-utf-8-en:truncateutf8(可将代码中的chartat改成codepointat, 用codepoint比较这个unicode的值)
http://zh.wikipedia.org/wiki/UTF8: wiki utf8
http://en.wikipedia.org/wiki/UTF-8:wiki utf8