Bug 9205 - Gmail Hebrew and Arabic localizations don't support Safari
Summary: Gmail Hebrew and Arabic localizations don't support Safari
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://mail.google.com/
Keywords: GoogleBug
Depends on: 9234
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-01 05:09 PDT by mitz
Modified: 2008-11-23 22:31 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-06-01 05:09:41 PDT
Go to Gmail Settings > General, choose Hebrew (עברית) as the Gmail display language and click Save Changes. Once Gmail reloads in Hebrew, it looks like "&$" (sometimes followed by stray markup) appears all over the place (seems to happen before LTR embedded text).

(To return to your favorite, supported LTR language, click the third blue link from the left at the top to get to Settings, then choose the language from the pop-up, and click the left button at the bottom).
Comment 1 David Phillip Oster 2006-06-01 09:53:34 PDT
Hebrew GMail performs correctly in Macintosh Firefox. Google bug id=193318
Comment 2 mitz 2006-06-02 06:59:47 PDT
The first problem seems to be that JavaScriptCore's String.prototype.replace doesn't support the '$&' replacement code.
Comment 3 mitz 2006-06-02 07:19:24 PDT
The workaround for Gmail is to use $0 instead of $& in your replacement strings (Firefox doesn't recognize $0 so you'd need a different code path for WebKit).
Comment 4 David Phillip Oster 2006-06-02 14:09:11 PDT
I've entered your diagnosis and workaround on the Google internal bug database entry for Google's bug id=193318
Comment 5 Jeremy Moskovich 2008-11-23 20:22:22 PST
It appears that the underlying issue was fixed and I can't reproduce this in gmail, can this bug be closed?
Comment 6 Shoshannah Forbes 2008-11-23 22:29:16 PST
Hi Jeremy- It's Shoshannah :-)
This bug is based on a report I passed on to mitz at the days of the inital RTL gmail release.
This bug is now long gone, so from me it's ok if it's closed. Mitz- do you object?
Comment 7 mitz 2008-11-23 22:31:46 PST
Closing as there do not appear to be any issues besides long-fixed bug 9234.