C++ Logo


Advanced search

Re: [SG16] Terminology

From: Corentin Jabot <corentinjabot_at_[hidden]>
Date: Thu, 11 Jun 2020 17:49:03 +0200
On Thu, 11 Jun 2020 at 16:18, Steve Downey <sdowney_at_[hidden]> wrote:

>> I do not think these distinctions matter in the standard at all - and I
>> recommend using the term *character encoding *(which applies to all
>> character encodings, whereas CEF/CES are Unicode specific), BUT we may want
>> to specify the endianness of UTF-16 and UTF-32 to be implementation-defined.
>> Implementation defined, but consistent with integers. That is, U'\u1234'
> must be a char32_t with the value 1234. I am fairly certain we require this
> already.
> A library facility that decodes UTF32LE would operate on bytes, not
> char32_t.

I think you are right, i fell too deep into the rabbit hole


Received on 2020-06-11 10:52:22