When I run the command chcp
in a cmd.exe
window, it represents the code page used in Windows.
I think Windows uses the UNICODE character set.
So, my questions are:
Why does Windows use ANSI codepages instead of Unicode?
Windows uses UTF-16 or UCS-2? Can I check this (by command or MSDN link)?
UTF-16 or UCS-2 is just an encoding? or is also a character set?
UTF-8, UTF-16, UTF-32, etc .. do they have different character set size?
I'm so confused. please somebody define them.