Text writing direction


#1

When requesting a user’s timeline using GET user_timeline.json resource URL, the text parameter doesn’t contain information about the writing direction of the text. So, if the text was Arabic, for example, I would like to display it RTL using the \u202b UTF-8 character.

Note that the Twitter for Mac application handles Arabic RTL alignment perfectly.

Thanks.


#2

I am still puzzled. Any ideas on this issue? At all?


#3

Can you use the ‘lang’ field to determine the language along with your own list of right-to-left languages?


#4

Thanks. As far as I can tell, the lang parameter is only sent as part of the user parameter, and it always showing as “en” in my case.