Closed
Bug 663292
Opened 13 years ago
Closed 13 years ago
The closing parenthesis in جورج_(توضيح) not displayed correctly
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: BijuMailList, Unassigned)
Details
Mozilla/5.0 (Windows NT 6.0; rv:6.0a2) Gecko/20110528 Firefox/6.0a2 http://ar.wikipedia.org/wiki/جورج_(توضيح) ie decodeURI("http://ar.wikipedia.org/wiki/%D8%AC%D9%88%D8%B1%D8%AC_%28%D8%AA%D9%88%D8%B6%D9%8A%D8%AD%29") It looks like the closing parenthesis on above url with Arabic Text is not displayed at correct place. It appear different on wikipedia article title and URL bar. I also noticed this on TEXTAREA and INPUT form control etc. I feel it should appear like ( جورج_(توضيح PS: I dont read/write/speak Arabic I assume this issue will be there in Hebrew also.
I think this is probably correct, though somewhat unfortunate. The URL bar is inherently left-to-right, because URLs are inherently left-to-right, so a parenthesis at the outer edge of a chunk of right-to-left text matches its left-to-right container. Within the article, everything is right-to-left so the parentheses are both right-to-left. But opinions of those who actually do read bidirectional languages probably matter more here.
Comment 3•13 years ago
|
||
Yes, as things stand this is correct. There has been some discussion recently on http://lists.w3.org/Archives/Public/public-iri/ about defining a "higher protocol" for displaying Bidi IRIs, though I don't think this specific issue has come up yet.
(In reply to comment #2) > I think this is probably correct, though somewhat unfortunate. Yes it is difficult, in case of http://ar.wikipedia.org/wiki/something(andجورج_(توضيح)) There are 2 parentheses at the end. Where the last is displayed at right place, but one before should go soon after "/something(and" So basically the corresponding opening parenthesis decide how closing parenthesis should appear. So I have another suggestion in indic unicode characters we have "\u200B" "\u200C" to decide how a character next to it should appear. May be we need some thing like that in UniCode for parenthesis to tell how it should appear ie, appear as "right-to-left" or appear as "left-to-right" even in middle of "right-to-left" characters.
Comment 5•13 years ago
|
||
We do have those characters (see LRM, RLM, PDF et al), and if the page uses them, the URL appears correctly. Example: http://ar.wikipedia.org/wiki/جورج_(توضيح) http://ar.wikipedia.org/wiki/%D8%AC%D9%88%D8%B1%D8%AC_(%D8%AA%D9%88%D8%B6%D9%8A%D8%AD)%E2%80%8F (I was stunned that wikipedia actually shows the correct page under that situation!) But it's true that the current situation with bidi URIs is sad. This bug is invalid nevertheless. :/ :(
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•