C++ Logo

std-proposals

Advanced search

[std-proposals] Proper Unicode support

From: Francesco Pretto <ceztko_at_[hidden]>
Date: Fri, 11 Nov 2022 11:28:30 +0100
Hello,

at every C++ iteration I am growing uncomfortable because of poor/absent
Unicode support, that is a fundamental aspect of programming and is still
lacking after all these years and with growing number of alternative
languages and frameworks properly supporting it.

As a very minimum C++ should have library support for:
- code points iteration;
- casing functions with Unicode support (eg. tolower/toupper);
- regex with Unicode support;
- possibly more.

Also, the UTF-16, UTF-8 conversion APIs should finally re-introduced to
find a substitute for the deprecated std::codecvt[1] overloads.

What's the current state of C++ standardization with regard to Unicode
support? What can be expected for the future?

Thank you,
Francesco

[1] https://en.cppreference.com/w/cpp/locale/codecvt

Received on 2022-11-11 10:28:43