[Dictionarysearch] Adding a string with a request in cyrillic characters...
Szabolcs Horvát
szhorvat at gmail.com
Sun Feb 24 22:21:55 PST 2008
On Mon, Feb 25, 2008 at 7:06 AM, Jaap A. Haitsma <jaap at haitsma.org> wrote:
> On Fri, Feb 22, 2008 at 11:50 PM, Johnny Graterol Guevara
> <jgratero at gmail.com> wrote:
> > I'm adding the following string for a request in a Russian-English
> > dictionary, from Rambler:
> >
> > http://www.rambler.ru/dict/scripts/go.cgi?where=en&src=js&query=$
> >
> > Nevertheless, every single time, my request is returned with nothing but
> > gibberish. For example, when I request the meaning of словарь (slovar,
> > dictionary) the search results are ÑЃÐ»Ð¾Ð²Ð°ÑЂÑŒ
> >
> > Any ideas?
> >
> Yes, problem is the encoding you have to use for search. dictionary
> search uses UTF-8 but not all sites support this, and it is not
> possible as far as I know to automatically detect which encoding a
> site wants.
>
Would it be possible to add the possiblity to set the encoding
manually for each dictionary site? For example, Firefox's
"quicksearch bookmarks" (also known as "keyword search") allow simply
appending &mozencoding=value (where value is the name of an encoding)
to the URL to set the encoding. This solution doesn't even require
creating a user interface.
More information about the DictionarySearch
mailing list