Re: please expand re bidi algorithm

From: Roozbeh Pournader (roozbeh@sina.sharif.ac.ir)
Date: Tue Oct 03 2000 - 10:40:17 EDT


On Tue, 3 Oct 2000, Michael (michka) Kaplan wrote:

> It depends. I was ONLY referring to a currency decimal separator, which is
> *not* U+066B. The monetary decimal separator is indeed U+002F. This can be
> retrieved from the NLS database with the LOCALE_SMONDECIMALSEP flag in a
> call to the Win32 API GetLocaleInfo.
>
> For what its worth, you are looking at the Arabic decimal separator, not the
> Farsi one. They are not the same here. This can be retrieved by using the
> LOCALE_SDECIMAL flag. For Farsi, this is indeed U+002E.

Win32 data is wrong. The decimal separator in Persian is different from
slash. They are separated even in old standards like ISIRI 3342. And many
Persian programs support both slash and decimal separator (called
"Momayyez" in Persian).

The shape is different from an Arabic one, but that's only a font problem.
Persian fonts usually address it right.

BTW, we usually do not use any currency decimal separator, since Iranian
Rial is a really small currency. Bank account round to whole Rials, and
so do budget programs, etc. It has passed at least 10 years from the date
I saw a fraction of a Rial anywhere, and the thing was at least 10 years
old that time :)

> Well, we are talking about two different things here. If you have Farsi
> users who prefer Arabic language conventions, then they probably would be
> annoyed, no wouldn't they? :-)

Almost no Persian speaker (including me) prefers Arabic language
conventions. If you want, I can send you a scan of the section related to
mathematical conventions from the Persian writing style book which is
somehow the Persian equivalent to Chicago Manual of Style. The section
specifies that a "Reh"-like symbol should be used as a decimal separator,
and explicitly tells that a slash can only be used as a division symbol in
math.

I can also ask for an official clarification from the Persian Language and
Literature Academy if you think that may be helpful.

> Well, I reported it once, to Jonathan Rosenne, and he forwarded it to some
> Mozilla developers, who probably concluded that this was the way it was
> supposed to be (I never heard back from the developers).
>
> You can see the Mozilla behavior by going to the following URL:
>
> http://64.38.165.18/FarsiVsArabic.asp
>
> This takes two Arabic locales and one Farsi locale, and shows how things are
> formatted. Note that Mozilla does the right thing with Farsi, at least with
> the milestone and platform I am using (Milestone 16, Windows 2000).

Thank you for the info. I'll try to look at these and send comments to
mozilla developers.

--roozbeh



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:14 EDT