C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] P1689: Encoding of filenames for interchange

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 07 Sep 2019 08:51:49 -0700
On Saturday, 7 September 2019 08:28:00 PDT Lyberta wrote:
> > Having char = utf8 across all the major platforms would be an *enormous*
> > win. Please aid that effort.
>
> Sure, but I think C++20 projects should not use char unless in the
> lowest levels when talking to OS.

And when talking to anything pre-C++20. Like any and all C libraries.

There will be a lot of casting from char8_t to char in the next decade.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-09-07 17:51:51