Closed Bug 239673 Opened 20 years ago Closed 20 years ago

Special characters (such as umlaut) are not honoured by keyword search.

Categories

(Camino Graveyard :: Bookmarks, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: echo32, Assigned: mikepinkerton)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040404 Camino/0.7+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040404 Camino/0.7+

Hi Devs,

Given the following bookmark:

Name:     Google
Location: http://www.google.ch/search?q=%s
Keyword:  g

When entering stuff like "g my keyword", everything is just working fine, the
Google page is opened with "my keyword" in the search field. However, when
entering stuff like "g wo ist brüssel" (umlaut), "g internet café" (french
accent) or any other special character, then these special characters are not
handled correctly. The "g wo ist brüssel" search is encoded as:

http://www.google.ch/search?q=wo%20ist%20br%C3%BCssel

Thus the german u-umlaut (ü) is urlencoded as %C3%BC displayed in Camino as
A-tilde and 1/4 characters.

By the way: How about adding a nifty feature to keyword search by allowing not
only one %s placeholder but alternatively several %s1, %s2 etc. placeholders? In
a search like 'g "1234 main st" madison' the placholders could mean:

%s:  "1234 main st" madison
%s1: 1234 main st
%s2: madison

With this extension, more complex keyword searches become possible.

Many thanks for your great work, Camino is real beauty!   -sven



Reproducible: Always
Steps to Reproduce:
see details
Actual Results:  
see details

Expected Results:  
see details
You forgot to include an encoding argument for Google. Just change your keyword
URL to <http://www.google.ch/search?ie=UTF-8&q=%s>.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
So I take Camino URL encodes %s keywords in keyword searches as UTF-8 by
default. The "Text Encoding" setting does not influence this behaviour. 

Now this works if the corresponding website accepts UTF-8 encoded input (like
Google does) but many do not, such as www.wordreference.com. Is there a way to
get these sites to work with keyword search and special characters?

Or could it be necessary to set the URL "Text Encoding" for every bookmark
separately?

-sven 
You need to log in before you can comment on or make changes to this bug.