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:
  1. Review of Track Issues for Best Practices (Part VII) (from addison@lab126.com on 2015-05-28)
  2. RE: Final ping on turtle i18n issues (from eric@w3.org on 2012-12-10)
  3. RE: Final ping on turtle i18n issues (from addison@lab126.com on 2012-12-10)
  4. Proposal to address I18N-ISSUE-191: Various nits in Appendix B (from eric@w3.org on 2012-10-02)
  5. Proposal to address I18N-ISSUE-187: escape syntax [TURTLE] (from gavin@carothers.name on 2012-10-01)
  6. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from duerst@it.aoyama.ac.jp on 2012-09-08)
  7. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from w3@norbertlindenberg.com on 2012-09-07)
  8. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from richard@cyganiak.de on 2012-09-07)
  9. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from cowan@mercury.ccil.org on 2012-09-07)
  10. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from eric@w3.org on 2012-09-07)
  11. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from richard@cyganiak.de on 2012-09-07)
  12. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from gavin@carothers.name on 2012-09-07)
  13. RE: I18N-ISSUE-187: escape syntax [TURTLE] (from addison@lab126.com on 2012-09-07)
  14. Re: I18N-ISSUE-187: escape syntax [TURTLE] (from cowan@mercury.ccil.org on 2012-09-07)
  15. 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:47

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $