On Tue, Feb 2, 2021 at 4:28 AM Steve Dower <[email protected]> wrote:
>
>
> I'm not defending the choice of wchar_t over UTF-8 (but I can: most of
> these systems chose Unicode before UTF-8 was invented and never took the
> backwards-incompatible change because they were so popular), but if we
> want to pragmatically weigh the needs of our users above our desire for
> purity, then we should try and support both equally wherever possible.
>

Note that we don't have "utf8 (char*) to Python bytes object" direct
encoder API.
If PEP 624 is accepted, utf8 and wchar_t* become equal.

So please don't think PEP 624 neglect only wchar_t*.

Regards,
-- 
Inada Naoki  <[email protected]>
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/ZZLY6AFXYEQQ7PI6IXRNU3FWQ23MXPZU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to