Version: (using KDE KDE 3.5.6) Installed from: SuSE RPMs Hello, while testing Horde's Turba (addressbook) using the German translation I found a bug in kjs's decodeURIComponent function. Consider the following example: <html> <body> <script type="text/javascript"> document.write(decodeURIComponent('Telefon%20gesch%C3%A4ftlich')) </script> </body> </html> That should display "Telefon geschäftlich" with an umlaut. It works in Firefox, but konqueror replaces the umlaut with a broken character. Best regards, Thomas Jarosch
I can confirm this, ran into the same problem. The problem is, I can't (won't) fix the code that uses the function, it's in the well known prototype.js library. Another example: <script type="text/javascript"> <!-- document.write(decodeURIComponent('Bart%C3%B3k') + "<br>"); var str = decodeURIComponent('Bart%C3%B3k'); for (i=0;i<str.length;i++) document.write(str.charCodeAt(i) + " "); // --> </script> Or look at: http://watdoejefout.nl/konqueror/decodeURIComponent.html
By the way, I'm using Konqueror from KDE 3.5.7, Debian Sid
Thanks for the report --- I've fixed this for 3.5.8 independently of this in: http://lists.kde.org/?l=kde-commits&m=119129888925302&w=2