Does anyone have any code for alphabetizing Arabic and Japanese text that is in Unicode? If the code was in ruby that would be great.
I don't know Ruby, but python has a function, ord() that translates a unicode special character to its unicode code point. For example,
>>> a = u'ل'
>>> ord(a)
0: 1604
>>> b = u'ع'
>>> ord(b)
1: 1593
Look for something like that in Ruby. I assume that the Arabic symbols are listed in unicode in alphabetic order.