« Bugzilla Issues Index
#3679 — String literal = sequence of code *points*?
- bug_id:
3679
- creation_ts:
2015-01-25 15:22:00 -0800
- short_desc:
String literal = sequence of code *points*?
- delta_ts:
2015-02-02 12:18:16 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 31: January 15, 2015 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
INVALID
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Axel Rauschmayer
- assigned_to:
Allen Wirfs-Brock
- cc:
jmdyck
- commentid:
11734
- comment_count:
0
- who:
Axel Rauschmayer
- bug_when:
2015-01-25 15:22:47 -0800
11.8.4 String Literals
Quote: "A string literal is zero or more Unicode code points enclosed in single or double quotes."
True? IINM, the indexed entities are still code units and the SV section mentions UTF-16 encoding several times. Iteration is different, but I’d describe it as grouping code units.
- commentid:
11756
- comment_count:
1
- who:
Michael Dyck
- bug_when:
2015-01-29 21:27:25 -0800
A string *literal* is a hunk of source text, which is a sequence of code points. What it *represents* is a different matter. The SV section mentions UTF-16 encoding in order to accomplish the mapping from source text to String value.
- commentid:
11886
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-02 12:18:16 -0800
resolving as invalid for the reasons that Michael mentioned