WG: ICU question with embedding levels
Stefan Wanger <[email protected]>
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
Help wanted. See below Thanks Stefan -----Ursprüngliche Nachricht----- Von: Icu Intl [mailto:[email protected]] Gesendet: Donnerstag, 10. Juli 2003 20:44 An: Stefan Wanger Cc: Icu Intl Betreff: Re: ICU question with embedding levels Hi, I have some ideas for how to do this, but it would be better (read: you would get more responses) to discuss this in a broader forum. I strongly suggest you subscribe to the icu4c-support mailing list and repost your question there. http://oss.software.ibm.com/icu/archives/ Viele GrüÃe, markus Stefan Wanger <[email protected]> 2003-07-10 06:19 To: Icu Intl/Cupertino/IBM@IBMUS cc: Stefan Wanger <[email protected]> Subject: ICU question with embedding levels Hi, i am testing ICU 2.4 with your Layout sample. But i have problems with embedded levels using the ubidi_setPara und ubidi_getLogicalRun API. This is my sample in logical order. <<12 34 56 78 90.txt>> 12 34 56 78 AB 90 AB are strong RTL characters. Paragrapg level is LTR. "34 56" should be treated as RTL run How can I achieve the following visual output: 12 56 34 78 BA 90 I tried 2 solutions 1. if i am using embedded levels ("00011110000000000") with ubidi_setPara, AB is not resolved as RTL run, when calling ubidi_getLogicalRun. 2. if i am using the RLE keyword (12 <RLE>34 56<PDF> 78 AB 90), the output is 12 90 BA 78 56 34 Please show me the right way. I would be very glad, if you can help. Thanks Stefan Wanger #### 12 34 56 78 90.txt has been removed from this note on July 10, 2003 by Markus Scherer