0

Suppose I want be able to dislpay this string in cmd at the same time:

██ অ আ কা কি ক अ आ इ ई 国 会 这 来 对 ܬ‎, ܫ‎, ܪ‎, ܩ‎, ܨ‎, ܦ

But, it shows this when the font is set to Lucida Console‎. When i set the font to something that has Chinese characters in it, I get this, and as you can see its not able to display the Bengali or Hindi characters cause they aren't present in these fonts.

CMD is really hard to get working right with fonts. It only supports Monospace fonts. It can't support Open Type Fonts as far as I am aware. And its really hard to find a font that is true type, is monospace and is multilingual at the same time.

How should I go about this? Is there some workaround to showing different languages that are present in different font files? Should I use something other than cmd altogether?

If you're wondering why I want to do this, I'm writing an application that involves showing random unicode characters in the command prompt.

My sys enviroment: Windows 10, and codepage: 65001

MMM
  • 3,257
hidden_machine
  • 131
  • 1
  • 7

1 Answers1

0

I have not managed to make your example string display correctly, neither on CMD nor on PowerShell. Not even after executing chcp 65001.

However, this did half-work on the Windows Terminal: When entering an echo command of the string, the command itself was badly displayed, but the string was then echoed correctly, although each character was displayed on a separate line:

enter image description here

My conclusion is that full Unicode support is just not available in the Windows consoles.

Alternate consoles work better, especially ones that are forked from the Linux bash. For example, here is the output for the echo command on cmder:

enter image description here

harrymc
  • 498,455