Movatterモバイル変換


[0]ホーム

URL:


Issue 1999 - WG21 CWG Issues
Title
Representation of source characters as universal-character-names
Status
cd4
Section
5.2 [lex.phases]
Submitter
Richard Smith

Created on2014-09-09.00:00:00 last changed109 months ago

Messages

msg6036 (view)
Date: 2015-05-15.00:00:00

[Moved to DR at the May, 2015 meeting.]

msg5308 (view)
Date: 2015-04-15.00:00:00

Proposed resolution (April, 2015):

Change 5.2 [lex.phases] paragraph 1 number 1 as follows:

...(An implementation may use any internal encoding, so long asan actual extended character encountered in the source file, andthe same extended character expressed in the source file as auniversal-character-name (i.e.e.g., usingthe\uXXXX notation), are handled equivalently exceptwhere this replacement is reverted in a raw string literal.)
msg5180 (view)
Date: 2014-09-09.00:00:00

According to 5.2 [lex.phases] paragraph 1, first phase,

Any source file character not in the basic source characterset (5.3.1 [lex.charset]) is replaced by theuniversal-character-name that designates that character. (Animplementation may use any internal encoding, so long as anactual extended character encountered in the source file,and the same extended character expressed in the source fileas a universal-character-name (i.e., usingthe\uXXXX notation), are handled equivalentlyexcept where this replacement is reverted in a raw stringliteral.)

This wording is obviously not intended to exclude the use ofcharacters with code points larger than0xffff, butthe reference to “the\uXXXX notation” mightsuggest that the\Uxxxxxxxx form is not allowed.

History
DateUserActionArgs
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-11-10 00:00:00adminsetstatus: dr -> drwp
2015-05-25 00:00:00adminsetmessages: +msg6036
2015-05-25 00:00:00adminsetstatus: tentatively ready -> dr
2015-04-13 00:00:00adminsetmessages: +msg5308
2015-04-13 00:00:00adminsetstatus: drafting -> tentatively ready
2014-09-09 00:00:00admincreate

[8]ページ先頭

©2009-2026 Movatter.jp