W3C home > Mailing lists > Public > uri@w3.org > October 2000

IURIs with bidi text

From: Yves Savourel <ysavourel@translate.com>
Date: Sun, 15 Oct 2000 17:09:03 -0600
Message-ID: <002501c036fc$ec3c30c0$67b6fea9@sykes.com>
To: <uri@w3.org>

I would like to ask for confirmation on how to represent URIs that include bidi text.

For example, the following URL: http‎:‎/‎/www‎.الأمان‎.com‬ contain the Arabic word for "security". Looking at the various draft documents about IURI I assume it should go through the following steps:

1-- Represent the URI in UCS with the LRE and PDF characters at each end and the LRM prefixing each reserved character. That would give the following (with the non-ASCII character between brackets):


2-- Then convert it into UTF-8.

3-- Then escape any escapable octet. This would give the following:


Is this a correct example of implementing an Internationalized URI with bidi text? Or I've got something wrong in the process?

In addition, in an XML document, as per section 4.2.2 of the specs, is it correct that I should use this last form directly in the document, and not rely on the XML processor to do the transformation?

Received on Sunday, 15 October 2000 19:09:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:02 UTC