<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>30646</bug_id>
          
          <creation_ts>2009-10-21 15:34:20 -0700</creation_ts>
          <short_desc>Swedish search (and other languages as well) is broken while fixing Japanese search</short_desc>
          <delta_ts>2009-10-21 16:34:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jungshik Shin">jshin</reporter>
          <assigned_to name="Jungshik Shin">jshin</assigned_to>
          <cc>artension</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>156666</commentid>
    <comment_count>0</comment_count>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2009-10-21 15:34:20 -0700</bug_when>
    <thetext>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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156688</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-10-21 16:10:55 -0700</bug_when>
    <thetext>Fixed by rolling out in r49926.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156705</commentid>
    <comment_count>2</comment_count>
    <who name="Satoshi Nakagawa">artension</who>
    <bug_when>2009-10-21 16:34:25 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Bug 30437 fixed Japanese search for non-Japanese locales. (Japanese Safari was
&gt; 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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>