On Fri, Oct 29, 2021 at 9:30 AM Corentin <corentin.jabot@gmail.com> wrote:


On Fri, Oct 29, 2021 at 3:15 PM Jens Maurer <Jens.Maurer@gmx.net> wrote:

I think we just want to say "If a character literal contains a c-char other than a numeric-escape-sequence
that cannot be encoded as a single code unit in the ordinary literal encoding, the program is ill-formed."

Agreed

The text containing the restriction that numeric-escape-sequences specify values that "fit" into the "character" type is under a bullet saying "[the] value of any other kind of character-literal is determined as follows" occuring after "[a] multicharacter literal has an implementation-defined value". I believe that we want that restriction to also apply in multicharacter literal cases. Additionally, whether a numeric-escape-sequence can be "encoded as a single code unit in the ordinary literal encoding" seems to need the wording from the "other than multicharacter literal" case.
 
 

Jens