ISSUE-187: escape syntax
escape syntax
- State:
- CLOSED
- Product:
- turtle
- Raised by:
- Addison Phillips
- Opened on:
- 2012-09-07
- Description:
- Section 6.4. The \u (lowercase u) syntax allows:
<q>
A Unicode codepoint in the range U+0 to U+FFFF inclusive corresponding to the value encoded by the four hexadecimal digits interpreted from most significant to least significant digit.
</q>
This is probably wrong, given that the surrogate code points fall into this range. No mention is made of surrogate pair handling.
It's not clear why the \U form should take eight hex digits when the first two are required to be 0.
Also, the trend seems to be going towards the variable-width form "\u{xxxxx}". See, for example:
http://unicode.org/reports/tr18/#Hex_notation
http://norbertlindenberg.com/2012/05/ecmascript-supplementary-characters/index.html#Escapes
- Related Actions Items:
- No related actions
- Related emails:
- Review of Track Issues for Best Practices (Part VII) (from addison@lab126.com on 2015-05-28)
- RE: Final ping on turtle i18n issues (from eric@w3.org on 2012-12-10)
- RE: Final ping on turtle i18n issues (from addison@lab126.com on 2012-12-10)
- Proposal to address I18N-ISSUE-191: Various nits in Appendix B (from eric@w3.org on 2012-10-02)
- Proposal to address I18N-ISSUE-187: escape syntax [TURTLE] (from gavin@carothers.name on 2012-10-01)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from duerst@it.aoyama.ac.jp on 2012-09-08)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from w3@norbertlindenberg.com on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from richard@cyganiak.de on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from cowan@mercury.ccil.org on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from eric@w3.org on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from richard@cyganiak.de on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from gavin@carothers.name on 2012-09-07)
- RE: I18N-ISSUE-187: escape syntax [TURTLE] (from addison@lab126.com on 2012-09-07)
- Re: I18N-ISSUE-187: escape syntax [TURTLE] (from cowan@mercury.ccil.org on 2012-09-07)
- I18N-ISSUE-187: escape syntax [TURTLE] (from sysbot+tracker@w3.org on 2012-09-07)
Related notes:
Note: Unicode hex notation is always at least four hex digits (expanding to five or six only when needed). So the first reference should be "U+0000" rather than "U+0"
Addison Phillips, 7 Sep 2012, 15:47:47Display change log