Bug 30646 - Swedish search (and other languages as well) is broken while fixing Japanese search
Summary: Swedish search (and other languages as well) is broken while fixing Japanese ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jungshik Shin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 15:34 PDT by Jungshik Shin
Modified: 2009-10-21 16:34 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jungshik Shin 2009-10-21 15:34:20 PDT
Spun off bug 30437. 

Bug 30437 fixed Japanese search for non-Japanese locales. (Japanese Safari was not broken without the patch). However, while doing so, it broke search in Swedish Safari (or many other languages) because the search collator is not locale-dependent any more. 

Instead of throwing away the locale-dependent collator and replacing it with UCA + Japanese tailoring (hard-coded in webkit source), we have to get the rule strings for the current locale-dependent collator and concatenate them with the Japanese tailoring (if the current locale is not Japanese).
Comment 1 Darin Adler 2009-10-21 16:10:55 PDT
Fixed by rolling out in r49926.
Comment 2 Satoshi Nakagawa 2009-10-21 16:34:25 PDT
(In reply to comment #0)
> Bug 30437 fixed Japanese search for non-Japanese locales. (Japanese Safari was
> not broken without the patch).

Did you mean Safari on Windows?

Because  Japanese Safari on Mac is broken without the patch. The collator seems not locale dependent at least in Safari 4.0.3 on Snow Leopard.