W3C home > Mailing lists > Public > www-international@w3.org > October to December 2012

Proposal to address I18N-ISSUE-187: escape syntax [TURTLE]

From: Gavin Carothers <gavin@carothers.name>
Date: Mon, 1 Oct 2012 07:44:11 -0700
Message-ID: <CAPqY83wKVKbx7_m9+sF47pbO5RLNZToNg5it7C+ABU=R=m7RDQ@mail.gmail.com>
To: RDF-WG WG <public-rdf-wg@w3.org>, Internationalization Core Working Group <www-international@w3.org>
Proposal to address I18N-ISSUE-187: escape syntax [TURTLE]
==========================================================

Issues:
* No mention is made of surrogate pair handling in \u escape syntax.

* It's not clear why the \U form should take eight hex digits when the
first two are required to be 0.

Rational: The trend in escape syntaxes seems to be going towards the
variable-width form "\u{xxxxx}".

Proposed Solution from I18N WG: Adopt \u{xxxxx} syntax for escapes.


Objections:

* \u and \U escape syntax is widely used. In C, C++, C#, Python, etc.

* There is a well-established escaping syntax in TURTLE

* SPARQL uses \u \U already

PROPOSAL: Turtle will continue to use \u \U escape syntax.
Received on Monday, 1 October 2012 14:44:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 1 October 2012 14:44:45 GMT