Feb. 1, 2021
4:58 p.m.
On Mon, 1 Feb 2021 17:39:16 +0100 "M.-A. Lemburg" <mal@egenix.com> wrote:
They should not use Py_UNICODE.
wchar_t is standard C and is in wide spread use in C code for storing Unicode data.
Do you have any data points about "wide spread use"? I work in C++ daily and don't see any "wide spread use" of wchar_t (or its C++ cousin std::wstring). Modern APIs assume bytestrings and UTF-8 encoding. Regards Antoine.