I'm looking for a code page that could be used in cmd.exe in all Windows versions - mainly XP to 10 -, regardless of the system locales. The priority being the newer versions and most commonly used locales.
Basically, I'd like for my console application to display the 256 characters - determined by the code page - in as many Windows environments as possible. Doesn't matter (too much) what the 255 characters are, as long as they are unique.
I had initially thought that CP_UTF8
would be one that every system had in it, because of the popularity it has gained in the last years. But I did recently hear of a case where a user didn't have it, so I really don't want to rely on just my assumptions alone.
My only other guess would be 437, but I haven't been able to find any confirmation on whether it's included in all Windows versions.
If a code page doesn't exist that covers all Windows systems, I'd like to at least find one that was supported by as many systems as possible (with sources, preferably).
If multiple such code pages exist, a list would be great.