@ishisaka 前のDPで試したときはサロゲートペアダメだったけど、ベータではどうなっただろ… — kkamegawa (@kkamegawa) 2012, 3月 6 @kkamegawaさんが左様な事を仰っていたので、UTF-16エンコードの試験をかねて、Windows 8 Consumer Preview上のVisual Studio 11, .NET Framework 4.5で検証してみました。 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleEncodeTest { class Program { static void Main(string[] args) { string notSurrogatePair = "叱
![.NET Console出力のエンコード(文字コード)を変更する .NET 4.5編 (I18N)](https://cdn-ak-scissors.b.st-hatena.com/image/square/c54330e0e1a566e08f9325b5656f246c4aec0977/height=288;version=1;width=512/https%3A%2F%2Fopcdiary.net%2Fwp-content%2Fuploads%2F2012%2F03%2Fuft-16Console.png)