-
-
Save zen010101/fb6cb6dfeba86bcbedf20f4fed824d31 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
utf8str := 'Hello𪚥World'; | |
Windows.SetConsoleOutputCP(CP_UTF8); | |
System.SetTextCodePage(Output, CP_UTF8); | |
Writeln(utf8str); | |
ConsoleWrite(utf8str); // wrong as Utf8ToConsole is called which always convert the string into CP_OEM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment