Problem with right-to-left languages, e.g. Hebrew
this wiki
Forum page
To contact staff directly or to report bugs, please use Special:Contact.
A while ago I inserted some foreign phrases into our wiki, including phrases in right-to-left languages such as Arabic or Hebrew. I inserted them via copy and paste from Wikipedia and other websites.
This seems to have confused the editing mode. See [1] for an example. The article looks okay, but when you try to edit it (as a whole), everything is backwards after the section "Hebrew". If you edit individual sections below "Hebrew", it's okay, so it's something in the Hebrew text that must be wrong. Editing the section "Hebrew" itself is a pain because the backspace and the delete key never do what you expect them to do. The asterisks are on the left in some lines and on the right in other lines...
Can anyone help? Does this depend on my browser (using Firefox here)? Spankart 13:01, 12 January 2008 (UTC)
- Done. I'd put that lines inside a <div dir="rtl"> inserting the unicode character U+202B after <div dir="rtl"> and the U+202C before </div>, as says the W3C FAQ: Unicode controls vs. markup for bidi support, to ensure that:
- When the page is rendered, it's correctly delimited the text direction (this is done with the dir="rtl" attribute).
- The edit box knows when begins the right-to-left direction and when it ends (this is done with the unicode characters).
- It was really tricky to add the characters in such conditions :P. I used Firefox, and for the unicode characters I used the windows charmap, enabling the advanced view and typing the unicode character in the search box --Ciencia Al Poder (talk) -WikiDex 14:33, 12 January 2008 (UTC)
- Thank you very much for your quick help! Spankart 15:21, 12 January 2008 (UTC)