[Mycroft] Unicode Google

Alan Bramley BramleyAJ at dsl.pipex.com
Sat Jan 31 19:51:10 EST 2004


Hi Tomer,

I made the changes you suggested. Seems to work OK for my English setup 
but can you check if it fixes your problems also. Since this is such an 
important plugin can everybody please test.

Changes made are...
1. Character sets updated.
2. Additional Inputs
3. Added Previous/Next links which parse to the sidebar to work-around 
the problem with the sidebar navigator buttons.
4. Browser section update tags pointed at Mycroft instead of Google.

If this does not appear to work correctly, or the Previous/Next links 
don't show or it uses the wrong icon then please check to see if you 
have another plugin which is using Google as it's search engine. If you 
have and this is sorted (alphabetically) further up the list than Google 
then remove that plugin and test again. Eg. I hit this problem with the 
"FunWorld" plugin being present. After removing it and re-starting 
Mozilla everything was fine.

I suppose the answer is to modify all the Google based plugins to use 
the code from this new version but we'll give it a good test first.

Regards,
Alan



Tomer Cohen wrote:
> Hello,
> 
> The search plugin for Google is latin-1 specific, while their site is 
> also relevant for languages with different encodings. For example, if 
> I'll search for Hebrew keywords in that plugin, I'll get the results 
> page unreadable, due to bad encodings.
> 
> The original plugin (http://www.google.com/mozilla/google.src) has the 
> required tags, while the mycroft version, which is a modified version of 
> the original one, omits that declarations, which I see no point. Can you 
> consider adding the missing lines, so any language which has characters 
> not included in latin-1 will be able to use that plugin?
> 
> Required changes:
> A. <SEARCH>
>  queryEncoding="UTF-8"
>  queryCharset="UTF-8"
> 
> B. Telling Google that the input is Unicode (ie) and that we expect 
> Unicode output (oe) -
>  <input name="ie" value="UTF-8">
>  <input name="oe" value="UTF-8">
> 
> C. <INTERPRET>
>  charset="UTF-8"
> 
> After those changes, the mycroft google plugin will be usable again to 
> any non English speakers. This will not change any other preferences, 
> such as your default interface language.
> 
> 
> 
> Also, if we are talking about Google plugins, is there any reasons to 
> dupe plugin between google.com and mycroft.mozdev.org? Can't we get only 
> one plugin for Google, instead of two for the same? The Mycroft one 
> should sync to the Google one, since that plugin is a property of 
> google.com, as they support it,  much like thier search engine itself.
> 
> 
> Sources:
> http://www.google.com/mozilla/google.src
> http://mycroft.mozdev.org/plugins/google.src
> 


More information about the Mycroft mailing list