The Unicode Consortium Discussion Forum

The Unicode Consortium Discussion Forum

 Forum Home  Unicode Home Page Code Charts Technical Reports FAQ Pages 
 
It is currently Fri Sep 19, 2014 12:50 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Conformance according to rules HL4 and HL5
PostPosted: Tue Apr 05, 2011 3:18 pm 
Offline

Joined: Thu Feb 11, 2010 12:47 pm
Posts: 11
Rule HL4 states that the bidi algorithm can be applied to text segments. Rule HL5 states that text may be flanked by additional characters to provide artificial context. By combining the two rules, one can infer that an implementation may insert characters in the text to process (at places it identifies to be segment boundaries) and apply the algorithm to the augmented text, while remaining conformant.

Is that a correct reading of the rules?


Top
 Profile  
 
 Post subject: Re: Conformance according to rules HL4 and HL5
PostPosted: Tue Apr 05, 2011 5:42 pm 
Offline

Joined: Thu Dec 23, 2010 7:46 pm
Posts: 1
Mark Davis replied in another context:
Quote:
Yes, if you mean logical insertions. That is, you could have

<p title="XXXX">

and display that as if it were logically

<p title="<LRM>XXXX<LRM>"> // or embedding

but the inserted characters wouldn't show up in the display, of course.

Mark


Top
 Profile  
 
 Post subject: Re: Conformance according to rules HL4 and HL5
PostPosted: Wed Apr 06, 2011 2:38 am 
Offline

Joined: Sun Aug 22, 2010 5:14 am
Posts: 5
In the coming version of ICU (4.8), a draft function has been added to implement HL5. Look for ubidi_setContext (ICU4C) or setContext (ICU4J).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


Quick-mod tools:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL.com