Bug 88448 - Cyrillic encoding when posting (again)
Summary: Cyrillic encoding when posting (again)
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 16:57 UTC by Kirill
Modified: 2008-07-30 19:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill 2004-08-30 16:57:35 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When trying to do a Google search for a Cyrillic text, Konqueror converts the text to a bunch of question marks, and of course Google finds nothing.

Konqueror has had this bug forever, but it keeps getting marked as fixed/closed even though it is not. See for example bug number 16174. I am reporting it as a new bug since it seems there is no way to reopen an existing bug.

This bug is particularly disappointing since other browsers have had this simple functionality for 5+ years. Sadly, it has never worked for me in Konqueror.

The steps to reproduce:
Go to a random page with Cyrillic text, like www.gramota.ru.
Copy any Cyrillic text and paste it into the Google search field.
Hit Enter or click the Search button.

Result:
Konqueror initially displays the Cyrillic text in the search field correctly, but converts it to a bunch of question marks before sending the query, and Google returns no results. On the page Google returns the search text also consists of question marks only.
Mozilla and other browsers correctly send the POST query, and Google returns the results.

Our main KDE language is Spanish, in case it matters. Let me know if you need help reproducing this bug.
Comment 1 padyx 2004-09-20 15:06:44 UTC
Hi! I can confirm a similar bug, too. When I try to serach for a German Word which contains a non ASCII-char like Ü (Correct encoding %DC), this character is coverted to a question mark in the Google Search field on the web page.
Please note that this only occurs when using the special search field for Google. The gg Short cut works perfectly.

Example: Try the Word "Übersetzung" in the Google Serach field next to the URL-Field. The URL is encoded to
"http://www.google.de/search?q=%DCbersetzung&ie=UTF-8&oe=UTF-8"
I think the mistake is, that there misses the argument "&ue=UTF-8".
If you add this, it works. Or if you delete the argument "&ie=UTF-8", it works as well.

Example 2: Search for "Äpfel". It is converted to (...)search?q=%C4pfel&ie=UTF-8&oe=UTF-8 and again there is the same problem and a the same solution: Add &ae=UTF-8 and it works perfectly or delete the "&ie=UTF-8" and it works without a hitch.

If I may add a unprofessional analysis: I think the bug is the "&ie=UTF-8". ae, oe and ue are common German alternative ways of spelling ä, ö and ü.
But: There is no umlaut with i (as far as I know), so the argument &ie=UTF-8 is a possible mistake.

Please check. I hope it helps. Bye
Comment 2 padyx 2004-09-20 15:09:09 UTC
Please also check this Bug: http://bugs.kde.org/show_bug.cgi?id=74058. It describes a possible solution. THX
Comment 3 Ferdinand Gassauer 2004-11-16 23:14:36 UTC
I observed the following behaviour:
entering non standard characters in the google search fields transfers the strings into google and retrieves the crrect search list.

quoting the string <text> in the google search result window with "<text>" changes the characters and google does not find anything any more.

quoting Damiánova gets changed to "Damiánova"
Comment 4 Youssef Chahibi 2005-11-01 14:56:10 UTC
I confirm this bug on KDE 3.4.92. Entering arabic characters in www.google.com gives ?????? . But if I enter arabic in the Google top bar, it behaves correctly.
Comment 5 zmeyski@gmail.com 2008-05-16 11:42:24 UTC
I can't reproduce this anymore with konqueror 3.5.9 bg_BG.UTF-8 cyrillic locale.

Comment 6 Jaime Torres 2008-07-30 19:46:48 UTC
I can not reproduce it also in konqueror 4.1 es_ES.UTF-8 locale.