Boost logo

Boost :

From: Tom Honermann (tom_at_[hidden])
Date: 2024-02-29 18:37:39


On 2/29/24 1:25 PM, Vinnie Falco wrote:
> On Thu, Feb 29, 2024 at 10:17 AM Tom Honermann via Boost
> <boost_at_[hidden]> wrote:
>> Now, Zach, as a long time SG16 participant and contributor, you know
>> full well that wchar_t doesn't imply Unicode :)
> I despise wchar_t and avoid it completely in public interfaces. I'll
> drop down to using it inside an implementation, but my functions which
> accept Unicode strings use char, and I perform the conversion in the
> implementation even when doing so has a performance cost (such as on
> Windows which wants a "wide string"). I try to offer only utf-8 as the
> choice of encoding for Unicode (again even on Windows).
This approach is not wrong ;)
> It's a thankless job but someone has to protect the world from the
> ugliness of wide characters.

It is too late to save ourselves, but the choices we make today may save
our great great great grandchildren! :)

Tom.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk