C++ Logo

sg16

Advanced search

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: Tue, 13 Aug 2019 09:27:56 -0700
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

Received on 2019-08-13 18:27:58