News for hackers. Stuff that matters.
Re:Curious lack of sprintf scaling by microtherion on Friday February 25, 2022 @08:26PM (#30474480)
I believe the numbers are the one thing in Arabic that are NOT written RTL.
Re:Curious lack of sprintf scaling by gumby on Friday February 25, 2022 @08:48PM (#30474578)
They are written RTL, it's simply that in Arabic numbers are written little endian.

In case this comes off as sarcastic, it is not intended so.

Re:Curious lack of sprintf scaling by thayne on Friday February 25, 2022 @10:32PM (#30475041)
In fact, the fact that arabic is written rtl is why our numbers are big endian. Because the European number system is based on the arabic system.
Re:Curious lack of sprintf scaling by gumby on Saturday February 26, 2022 @12:26AM (#30475394)
I don’t think that is true.

Europe got decimal digits with their own characters via the arabs, true, but we use shapes derived from the original source, the Devanagari digits, not the shapes the Arabs developed due to their writing system/technology. South Asian languages other than Urdu are LTR.

You can see the parallels here (clipped from Wikipedia):

० 0 १ 1 २ 2 ३ 3 ४ 4 ५ 5 ६ 6 ७ 7 ८ 8 ९ 9

Re:Curious lack of sprintf scaling by microtherion on Friday February 25, 2022 @11:57PM (#30475302)
Ah, I get your point. They are _pronounced_ little endian, and consequently written that way RTL, which works out to big endian LTR, of course.