Basic Unicode character/string support absent even in modern C++

Shriramana Sharma samjnaa at gmail.com
Wed Apr 22 05:51:46 CDT 2020


On Wed, 22 Apr, 2020, 13:05 Piotr Karocki via Unicode, <unicode at unicode.org>
wrote:

> >Am 21.04.20 um 18:03 schrieb Shriramana Sharma via Unicode:
> >> char16_t and char32_t along with the corresponding string types
> >> u16string and u32string were added in C++11:
> >>
> >> https://en.cppreference.com/w/cpp/language/types
> >> https://en.cppreference.com/w/cpp/string
> >>
> >> But till date one can't write any of them to cout. A simple cout << u'அ'
> >> or cout << u"சொல்" doesn't work and throws umpteen lines of obscure
> >> compiler errors.
> >Use a better programming language, like D, with direct unicode support:
> >
> >https://dlang.org
>
>  Or better C++ compiler, which understand Unicode source files.
>

My latest GCC and Clang don't have any problem with the source files. The
limitation is with the standard libraries which don't provide the required
functionality.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/mailman/private/unicode/attachments/20200422/4e11092c/attachment.htm>


More information about the Unicode mailing list