To get chinese pinyin from chinese. Forked from https://github.com/chinalu/JSPinyin, which is based on Mooltools. This version has no dependencies.
用JS获取中文的拼音或拼音首字母,没有其他库依赖。
#JS
var pinyin = new JSPinyin();
alert(pinyin.getFullChars('你好中国'));
MIT License. Copyright 2008-2010 Bill Lue.