Text-mode apps (Was :Who are the "spacists"?)

eryk sun eryksun at gmail.com
Sun Mar 26 13:38:38 EDT 2017


On Sun, Mar 26, 2017 at 3:37 PM, Chris Angelico <rosuav at gmail.com> wrote:
>
> Just use Unicode. Everything else, these days, is a subset of Unicode
> anyway. Unless you're stuck on the default Windows shell/terminal, you
> should be able to use UTF-8 everywhere and have the entire Unicode
> range available.

The Windows console can render any character in the BMP, but it
requires configuring font linking for fallback fonts. It's Windows, so
of course the supported UTF format is UTF-16. The console's UTF-8
support (codepage 65001) is too buggy to even consider using it.

I don't know why you mention the shell. It has nothing to do with
this. But, for what it's worth, the cmd shell is a Unicode application
and always has been. It use the console's wide-character API.



More information about the Python-list mailing list