[FriBidi] Mixed RTL and numeric strings

Behdad Esfahbod behdad at behdad.org
Wed Apr 17 14:18:29 PDT 2013


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: fribidi-bounces+ian.walberg=airborne.aero at lists.freedesktop.org [mailto:fribidi-bounces+ian.walberg=airborne.aero at lists.freedesktop.org] 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:behdad.esfahbod at gmail.com] 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:behdad.esfahbod at gmail.com] 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
> fribidi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fribidi
> 

-- 
behdad
http://behdad.org/


More information about the fribidi mailing list