ADOU-V

导航

2015年12月15日 #

Asp.net 将中文汉字转换成拼音首字和拼音全拼

摘要: 1 /// 2 /// 获取汉字的首字母和全拼 3 /// 4 public class ChineseCode 5 { 6 protected string _CnTxt; 7 protected string _... 阅读全文

posted @ 2015-12-15 10:32 a-dou 阅读(1383) 评论(0) 推荐(0)

ASP.NET获取汉字首字母

摘要: 1 /// 2 /// 获取汉字首字母(可包含多个汉字) 3 /// 4 /// 5 /// 6 public string GetChineseSpell(string strText) 7 { 8 int len ... 阅读全文

posted @ 2015-12-15 10:31 a-dou 阅读(560) 评论(0) 推荐(0)

ASP.NET汉字转拼音 - 输入汉字获取其拼音的具体实现

摘要: 微软为了开发者实现国际化语言的互转,提供了Microsoft Visual Studio International Pack,这个扩展包里面有中文、日文、韩文、英语等各国语言包,并提供方法实现互转、获取拼音、获取字数、甚至获取笔画数等等。首先,下载Microsoft Visual Studio I... 阅读全文

posted @ 2015-12-15 10:29 a-dou 阅读(812) 评论(0) 推荐(0)