char[] caa = new char[] { (char)25105, (char)24456, (char)22909 };
Console.WriteLine(new String(caa)); // “我很好”
Ref: http://www.plurk.com/p/cnjj0g
|
|||||
C# UTF-8 dec to Charchar[] caa = new char[] { (char)25105, (char)24456, (char)22909 }; Console.WriteLine(new String(caa)); // “我很好” Ref: http://www.plurk.com/p/cnjj0g Leave a Reply |
|||||
|
Copyright © 2012 Chuan-Yih, Yu - All Rights Reserved 1 guests, 8 bots, 0 members Max visitors today: 9 at 07:59 pm UTC This month: 11 at 02-05-2012 04:43 pm UTC This year: 11 at 02-05-2012 04:43 pm UTC All time: 175 at 01-24-2011 09:19 am UTC Chuan-Yih, Yu is Stephen Fry proof thanks to caching by WP Super Cache |
|||||
Recent Comments