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 ("%Id", 12345); > > > > And you will see Persian digits if you set you locale to fa_IR. > > If think you wanted to say "%lc" -- the length modifier "l" is applied to > char type: > > printf("%lc", 0x06f3); // arabic-indic digit 3 > No. I exactly meant 'I' flag which does what he wants. Check printf man page part 3 and look for 'Arabic' or 'Persian'.
Hamed _______________________________________________ PersianComputing mailing list [EMAIL PROTECTED] http://lists.sharif.edu/mailman/listinfo/persiancomputing