C++ Logo


Advanced search

Re: [SG16] Agenda for the 2021-12-01 SG16 telecon

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Fri, 3 Dec 2021 22:55:15 +0100
On 03/12/2021 22.03, Tom Honermann wrote:
> On 12/1/21 2:28 PM, Corentin Jabot wrote:

>> I think Jens is right. MSVC does handle Shift-JIS specifically but I'm not sure we can/should mandate something that work universally, the burden on implementation could be high)
> Are you suggesting that we should revisit the consensus for the proposed resolution for LWG3576 <https://cplusplus.github.io/LWG/issue3576> from our 2021-08-25 telecon <https://github.com/sg16-unicode/sg16-meetings#august-25th-2021>?

Reading https://cplusplus.github.io/LWG/issue3576
right now (I wasn't present in August, it seems),
this says

"any codepoint of the literal encoding other than { or }"

This seems to be a category error: A literal encoding produces
code units (see [lex.string]), not code points.

One could certainly endeavor to reconstruct code points from
code units, but it appears some encodings don't really have
a code point space to start with. For example, wide-EBCDIC
paired with some narrow EBCDIC shifts between the two, but
it seems there is no single "code point" space that would
contain values for characters from both sets.


Received on 2021-12-03 15:55:25