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

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>150381</bug_id>
          
          <creation_ts>2007-10-01 18:39:59 +0000</creation_ts>
          <short_desc>google is unable to use non-ascii characters with konqueror.</short_desc>
          <delta_ts>2007-10-02 06:21:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>kjs</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Raúl">rasasi78</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>548046</commentid>
    <comment_count>0</comment_count>
    <who name="Raúl">rasasi78</who>
    <bug_when>2007-10-01 18:39:59 +0000</bug_when>
    <thetext>Version:           3.5.7 (using KDE 3.5.7, Debian Package 4:3.5.7.dfsg.1-7 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-2-686

When I do a google maps search on konqueror and I use any non-ascii character google misunderstand it on actions, or maybe it&apos;s konqueror which does. Look this example:

-Go to maps.google.es
-Go to &quot;buscar negocios&quot;
-Type &quot;hoteles&quot; on the left box and &quot;Málaga&quot; on the right one.
-Go down the list and press &quot;Siguiente&quot;

You will see that on the top right box, &quot;Málaga&quot; turns into &quot;M&lt;some weird char&gt;laga&quot;.

As per DevEagle on #khtml this seems to happens because konqueror inserts an unicode replacement char from whatever JS google uses to mangle the URL.

Also he noticed that this problem doesn&apos;t happen on konqueror4.

Regards,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>548049</commentid>
    <comment_count>1</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-10-01 18:57:55 +0000</bug_when>
    <thetext>Testcase:
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;script&gt;
alert(decodeURIComponent(&quot;%C3%A1&quot;));
&lt;/script&gt;

(Should be á)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>548050</commentid>
    <comment_count>2</comment_count>
      <attachid>21730</attachid>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-10-01 18:58:57 +0000</bug_when>
    <thetext>Created attachment 21730
Patch

This conditional is clearly wrong, since the &gt;= 0x80 chars should be two-byte
encoded. I am not sure we need the overall paranoia about overlongs -- Harri?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>548104</commentid>
    <comment_count>3</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-10-02 06:21:24 +0000</bug_when>
    <thetext>SVN commit 719916 by orlovich:

Fix a bad regression caused by a bug in the stricter utf-8 validation code 
that caused us to replace latin1 glyphs (e.g. accented chars) 
with the unicode replacement character.

BUG:150381


 M  +2 -2      function.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=719916
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21730</attachid>
            <date>2007-10-01 18:58:57 +0000</date>
            <delta_ts>2007-10-01 18:58:57 +0000</delta_ts>
            <desc>Patch</desc>
            <filename>dec.diff</filename>
            <type>text/plain</type>
            <size>486</size>
            <attacher name="Maksim Orlovich">maksim</attacher>
            
              <data encoding="base64">SW5kZXg6IGZ1bmN0aW9uLmNwcAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBmdW5jdGlvbi5jcHAJKHJldmlzaW9u
IDcxOTY2OCkKKysrIGZ1bmN0aW9uLmNwcAkod29ya2luZyBjb3B5KQpAQCAtMjUwLDggKzI1MCw4
IEBACiAJdW5zaWduZWQgbG9uZyB5eXl5eSA9IG9jdGV0c1swXSAmIDB4MUY7CiAJdW5zaWduZWQg
bG9uZyB6enp6enogPSBvY3RldHNbMV0gJiAweDNGOwogCVYgPSAoeXl5eXkgPDwgNikgfCB6enp6
eno7Ci0JLy8gMi1ieXRlIHNlcXVlbmNlIG92ZXJsb25nIGZvciB0aGlzIHZhbHVlPwotCWlmIChW
IDwgMHhGRikKKwkvLyAyLWJ5dGUgc2VxdWVuY2Ugb3ZlcmxvbmcgZm9yIHRoaXMgdmFsdWU/ICAg
ICAgIAorCWlmIChWIDwgMHg4MCkKIAkgIFYgPSByZXBsYWNlbWVudENoYXI7CiAJQyA9IFVDaGFy
KCh1bnNpZ25lZCBzaG9ydClWKTsKICAgICAgIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>