Linux and Windows: how does the console display Unicode characters?

This is a fairly low level (low in the sense of “closer to metal”).

I was wondering if any of you could tell me the documentation, explanations, etc. about how after receiving a Unicode character (or any character code, but I am particularly interested in the Unicode standard) the console in Windows, good ol 'cmd.exe (using, say, code page 65001), and xterm on Linux started with, say, LC_CTYPE=en_US.UTF-8look for the corresponding glyph (and where).

I know that on Windows it can be harder to find out, but I cannot find much information.

Thanks.

+3
source share
3 answers

, cmd.exe 256 , " , ", .

, , cmd.exe ( , Unicode ) ShiftJIS, . ( , ), .

Unicode. Unicode .

+3

TextWriter , . , .

+1

the console does not support Unicode. :)

+1
source

Source: https://habr.com/ru/post/1714651/


All Articles