标签:style blog color os for div amp log
protected string GetUnicode(string text) { string result = ""; for (int i = 0; i < text.Length; i++) { if ((int)text[i] > 32 && (int)text[i] < 127) { result += text[i].ToString(); } else result += string.Format("\\u{0:x4}", (int)text[i]); } return result; }
标签:style blog color os for div amp log
原文地址:http://www.cnblogs.com/haozhenjie819/p/3927805.html