print('\N{flag: Mauritius}') not supported in py3.9
Chris Angelico
rosuav at gmail.com
Sun Nov 28 17:19:16 EST 2021
On Mon, Nov 29, 2021 at 8:10 AM dn via Python-list
<python-list at python.org> wrote:
> However, when trying the above, with our local flag in (Fedora Linux,
> Gnome) Terminal or PyCharm's Run terminal; the two letters "N" and "Z"
> are shown with dotted-outlines. Similarly, the Mauritius' flag is shown
> as "M" and "U".
>
> Whereas here in email (Thunderbird) or in a web-browser, the flags
> appear, as desired.
>
> Is this a terminal short-coming (locale charmap -> UTF-8 - which brings
> to mind the old UCS-4 questions), a font issue, or what (to fix)?
Probably a font issue. Not many fonts support the flags.
ChrisA
More information about the Python-list
mailing list