MozillaZine

suggestion about search in greek

Discuss building things with or for the Mozilla Platform.
ksiopis
 
Posts: 2
Joined: November 8th, 2009, 4:19 am
November 8th, 2009, 4:57 am

Post Posted November 8th, 2009, 4:57 am

Hi all, I am new here, just want to make a suggestion and found the forum. well I am greek and when I am using the Find option to find a keyword in a page there is an issue:

in greek alphabet, there are letters with accent or not, such as: α and ά , ε and έ ,ο and ό ,ω and ώ etc

when we search it is easier not to use the accent and search engines like google "understand" it and displays all the results, with accent or not.

Where should I address to post it as a suggestion?

thanks in advance

Torisugari
 
Posts: 1426
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)
November 8th, 2009, 7:55 am

Post Posted November 8th, 2009, 7:55 am

ksiopis wrote:when we search it is easier not to use the accent and search engines like google "understand" it and displays all the results, with accent or not.

Probably it's easy enough for Firefox.
http://mxr.mozilla.org/mozilla-central/ ... nsFind.cpp
nsFind.cpp wrote:
Code: Select all
1181     else if (!inWhitespace && !mCaseSensitive && IsUpperCase(c))
1182       c = ToLowerCase(c);

Here nsFind is converting a Unichar(16bits) to lower case letter. I'm quite sure removing stress is no more complicated than ToLowerCase(). Very simple mapping.


The problem is, there are a lot of languages/characters in Europa, and in the world. Island people may want to remove umlauts but German may like to keep it. So first of all, we should discuss how to search a given text, a bit more seriously and strictly.
Where should I address to post it as a suggestion?

Probably https://bugzilla.mozilla.org/show_bug.cgi?id=202251

ksiopis
 
Posts: 2
Joined: November 8th, 2009, 4:19 am
November 8th, 2009, 3:35 pm

Post Posted November 8th, 2009, 3:35 pm

thank you sooo much , very helpfull, thanks..

Return to Mozilla Development


Who is online

Users browsing this forum: No registered users and 1 guest