Re: Mixed RTL and numeric strings
"Ian Walberg" <[email protected]> Wed, 17 Apr 2013 17:42:55 -0400
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <[email protected]> |
Behdad, Ok good ..... What we have been requested to do is always put the minus sign on the left hand side of the number (12345) digits even when the left is RTL. We are experimenting with combinations of characters this afternoon but are not sure what might work or if this is even possible. Currently we always see the minus sign on the right hand side when the test is RTL. Many thanks Ian -----Original Message----- From: Behdad Esfahbod [mailto:[email protected]] On Behalf Of Behdad Esfahbod Sent: Wednesday, April 17, 2013 2:35 PM To: Khaled Hosny Cc: Ian Walberg; FriBidi Subject: Re: [FriBidi] Mixed RTL and numeric strings Snap. That's exactly why U+066x digits and U+06Fx digits have different types. So, MINUS SIGN is supposed to work both for Arabic and Persian digits. b On 13-04-17 05:31 PM, Khaled Hosny wrote: > For RTL text I expect the minus to be on the right (OK, I was taught > math in from right to left using Arabic notation), so Unicode/FriBiDi > are doing the right thing, so what you want here is to treat math > expressions as being “isolated” LTR, so you should enclose them in LRE > and PDF marks (U+202A and U+202C, respectively). > > Regards, > Khaled > > On Wed, Apr 17, 2013 at 05:21:11PM -0400, Ian Walberg wrote: >> Behdad, >> >> Let us try that, we do need to mix number (12345) and Arabic/Hebrew text with the minus sign. >> >> Thanks >> >> Ian >> >> -----Original Message----- >> From: Behdad Esfahbod [mailto:[email protected]] On Behalf Of >> Behdad Esfahbod >> Sent: Wednesday, April 17, 2013 2:18 PM >> To: Ian Walberg >> Cc: FriBidi >> Subject: Re: [FriBidi] Mixed RTL and numeric strings >> >> On 13-04-17 05:10 PM, Ian Walberg wrote: >>> Behdad, >>> >>> That seems to give the same result. >>> >>> Can you send me a utf8 string that you think should work with a minus sign? >> >> How about this: >> >> −۳۲ بهداد >> >> b >> >>> Thanks >>> >>> Ian >>> >>> >>> -----Original Message----- >>> From: >>> [email protected] >>> [mailto:[email protected]. >>> or >>> g] On Behalf Of Ian Walberg >>> Sent: Wednesday, April 17, 2013 1:54 PM >>> To: Behdad Esfahbod >>> Cc: FriBidi >>> Subject: Re: [FriBidi] Mixed RTL and numeric strings >>> >>> Behdad, >>> >>> Ok great, how do we insert that? Say using a text editor? We use ultra edit. >>> >>> Thanks >>> >>> Ian >>> >>> -----Original Message----- >>> From: Behdad Esfahbod [mailto:[email protected]] On Behalf >>> Of Behdad Esfahbod >>> Sent: Wednesday, April 17, 2013 1:49 PM >>> To: Ian Walberg >>> Cc: FriBidi >>> Subject: Re: Mixed RTL and numeric strings >>> >>> I think the easiest way to fix this is to use U+2212 MINUS SIGN instead of ASCII HYPHEN-MINUS. >>> >>> behdad >>> >>> On 13-04-16 07:45 PM, Ian Walberg wrote: >>>> Behdad, >>>> >>>> >>>> >>>> Below is the image from mapserver and the text copied from the >>>> sqlite database (attached). >>>> >>>> >>>> >>>> Regards >>>> >>>> >>>> >>>> Ian >>>> >>>> >>>> >>>> -32 درجة حرارة الهواء >>>> >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Behdad Esfahbod [mailto:[email protected]] On Behalf >>>> Of Behdad Esfahbod >>>> Sent: Tuesday, April 16, 2013 12:49 PM >>>> To: Ian Walberg >>>> Cc: FriBidi >>>> Subject: Re: Mixed RTL and numeric strings >>>> >>>> >>>> >>>> On 13-04-16 11:23 AM, Ian Walberg wrote: >>>> >>>>> Behdad, >>>> >>>>> >>>> >>>>> We are using mapserver and need to display mixed RTL text and >>>>> numeric >>>> >>>>> data. >>>> >>>>> >>>> >>>>> The numeric data displays the minus sign after the string 123- >>>>> rather >>>> >>>>> than -123 as we would like. >>>> >>>>> >>>> >>>>> Is it possible to make the minus sign appear before the numbers? >>>> >>>> >>>> >>>> Show me the code? >>>> >>>> >>>> >>>> >>>> >>>>> Many thanks >>>> >>>>> >>>> >>>>> Ian >>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> behdad >>>> >>>> http://behdad.org/ >>>> >>> >>> -- >>> behdad >>> http://behdad.org/ >>> _______________________________________________ >>> fribidi mailing list >>> [email protected] >>> http://lists.freedesktop.org/mailman/listinfo/fribidi >>> >> >> -- >> behdad >> http://behdad.org/ >> _______________________________________________ >> fribidi mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/fribidi > -- behdad http://behdad.org/ _______________________________________________ fribidi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fribidi