Created
July 4, 2022 12:46
-
-
Save matarillo/f978a67e0e2b5eb9838946007dd77e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
現在のコード ページ: 932 | |
Console.OutputEncoding is System.Text.OSEncoding | |
Microsoft ? OSS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See https://aka.ms/new-console-template for more information | |
var p = System.Diagnostics.Process.Start(@"C:\Windows\System32\chcp.com"); | |
p.OutputDataReceived += (s, e) => Console.WriteLine(e.Data); | |
p.WaitForExit(); | |
Console.WriteLine($"Console.OutputEncoding is {Console.OutputEncoding}"); | |
Console.WriteLine("Microsoft ❤ OSS"); | |
Console.ReadKey(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment