C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] Unicode streams

From: Lyberta <lyberta_at_[hidden]>
Date: Thu, 17 Oct 2019 19:35:00 +0000
Mateusz Pusz:
> Dear SG16 members, do you have any BKMs or suggestions on how to write a
> library that is Unicode aware and safe in an easy and approachable way?
> Should we strive to provide a nice-looking representation of units for
> outputs that support Unicode (console, files, etc) or should we, as ever
> before, just support only `char` and `wchar_t` and ignore the existence of
> Unicode in C++?
>
> Please keep in mind that the library is hoped to target C++23.

I plan to propose Unicode streams eventually after we decide on Unicode
containers. I think wording interface in terms of scalar values gives us
ability to support all encodings of Unicode without much code.


Received on 2019-10-17 21:36:03