摘要: 汉字转换成拼音实现自动检索:Visual Studio International Pack案例:StringBuilder sbPy = new StringBuilder();String txt = "你好";foreach(char ch in txt){ ChineseChar chChar = new ChineseChar(ch); if(chChar.Pinyins.Count > 0) { sbPy.Append(chChar.Pinyins[0].Substring(0,chChar.Pinyins[0].Length)); }}//输入sbPy即 阅读全文
posted @ 2013-08-19 21:53 无处安放的青春 阅读(283) 评论(0) 推荐(0) 编辑