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).
Fixed by rolling out in r49926.
(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.