Hacker News new | past | comments | ask | show | jobs | submit login

Try this if you're stuck:

(قول "مرحبا يا عالم!")

   قول = say
   مرحبا = hello/welcome
   يا = oh
   عالم = world



This displays better:

‏(‏قول "مرحبا يا عالم!")‏)

You need to put a 0x200F (Unicode's right-to-left-mark) both before and after the text, so the neutrally-directed characters ( ) and " will inherit the directionality of the Arabic text, instead of the top-level left-to-right context.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: