Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is indeed an easy way to fix text rendering in your inputs and textareas. However, you'll also need to do the same for elements that render the submitted text. And once you encounter bidirectional text (e.g. an English product name within an Arabic paragraph), that opens up another whole can of worms...

Note also that there's currently a regression in Chrome that affects how RTL text is rendered in inputs with dir='auto'. They just shipped a fix though so it should be included in the next release.




[flagged]


Adapting your UI to RTL localization is a much more difficult proposition, but what well-placed dir="auto" can do is prevent an LTR-language UI from falling apart in the face of RTL user data (looking at you Gmail).


Just support English and eventually it won’t be a problem. Also put all your dates in UTC. Any other low hanging fruit we can knock out?


always export files in UTF-8


only lowercase alphabetic ascii for any path or file name, excluding space.

i will die on this hill.


We will stand together, brother.




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

Search: