Author Topic: Chinese characters in the console  (Read 39 times)

jj2007

  • Member
  • *****
  • Posts: 10636
  • Assembler is fun ;-)
    • MasmBasic
Chinese characters in the console
« on: October 18, 2020, 12:13:47 PM »
https://stackoverflow.com/questions/6405428/can-i-get-console-to-show-chinese

Quote
Go to Control Panel -> Region and Language -> Administrative ->  Change system locale... and select a Chinese locale. Reboot and now your console windows will be codepage 936 and the font will be a font that can display Chinese characters.

You'll notice that a dir command can now display Chinese characters and if your programs write Unicode Chinese characters to the console, it displays properly (instead of little boxes).

This worked for me on Windows 7, with no need for language packs or special versions of Windows.

It works indeed, but the RichEdit control gets confused, so the attempt to build Ansi sources is bound to fail :sad: