JavaScript 之 300 行代码搞定汉字转拼音

在浏览器或者 Node.js 上,借助 ICU 的帮助,300 行代码实现汉字转拼音。 把 Android 源码中汉字转拼音功能从 Java 移植到 JavaScript。 —— 由creeperya分享