Re: Persian numbers in Glibc

2004-09-13 Thread Hamed Malek
On Sun, Sep 12, 2004 at 01:22:02PM -0700, Skip Tavakkolian wrote: > > I see. The font I use shows lower case 'L' the same as upper case 'I'. > For what it is worth, according to ISO C99, if __STDC_ISO_10646__ > macro is defined, you can use the "l" (lower case 'L') modifier for > char ("%c") forma

Re: Persian numbers in Glibc

2004-09-12 Thread Behdad Esfahbod
Actually Qt already does that. Otherwise all Hamed said is right and precise. On Sun, 12 Sep 2004, mohsen ali momeni wrote: > Hello everyone, > > Does Glibc support persian numbers? i mean does it interpret persian > numbers as real numbers? > As i tested ,it's not so , i mean there is no supp

Re: Persian numbers in Glibc

2004-09-12 Thread Skip Tavakkolian
>> >> Does Glibc support persian numbers? >> > >> > Yes. This is what 'I' flag defined for. (see printf manual part 3) >> > You can change your '%d' and '%f' with '%Id' and '%If' in printf >> > parameters like this: >> > >> > printf ("%Id", 12345); >> > >> > And you will see Persian digits if

Re: Persian numbers in Glibc

2004-09-12 Thread Hamed Malek
On Sun, Sep 12, 2004 at 09:30:15AM -0700, Skip Tavakkolian wrote: > >> Does Glibc support persian numbers? > > > > Yes. This is what 'I' flag defined for. (see printf manual part 3) > > You can change your '%d' and '%f' with '%Id' and '%If' in printf > > parameters like this: > > > > printf ("

Re: Persian numbers in Glibc

2004-09-12 Thread Skip Tavakkolian
>> Does Glibc support persian numbers? > > Yes. This is what 'I' flag defined for. (see printf manual part 3) > You can change your '%d' and '%f' with '%Id' and '%If' in printf > parameters like this: > > printf ("%Id", 12345); > > And you will see Persian digits if you set you locale to fa_I

Re: Persian numbers in Glibc

2004-09-12 Thread Hamed Malek
Hello Mohsen, > Does Glibc support persian numbers? Yes. This is what 'I' flag defined for. (see printf manual part 3) You can change your '%d' and '%f' with '%Id' and '%If' in printf parameters like this: printf ("%Id", 12345); And you will see Persian digits if you set you locale to fa_IR.

Persian numbers in Glibc

2004-09-11 Thread mohsen ali momeni
Hello everyone, Does Glibc support persian numbers? i mean does it interpret persian numbers as real numbers? As i tested ,it's not so , i mean there is no support for persian numbers in glibc.am i right? Is there any application in linux supporting persian numbers?Should this support be added to