C++ Logo

SG16

Advanced search

Subject: Re: [SG16-Unicode] [isocpp-core] What is the proper term for the locale dependent run-time character set/encoding used for the character classification and conversion functions?
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-08-13 11:27:56


On Tuesday, 13 August 2019 06:29:07 PDT Steve Downey wrote:
> It would probably be difficult to mandate, since by the time you get around
> to seeing u{8,16,32} everything has already been converted to internal
> encoding, which is essentially indistinguishable from Unicode as you can't
> tell the difference between *universal-character-name
> <http://eel.is/c++draft/lex.charset#nt:universal-character-name> *and an
> extended source character.

Make it no-diagnostic-required. Some compilers may complain, which is enough.
And there are other tools (lints) that can be used too.

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

SG16 list run by sg16-owner@lists.isocpp.org