Re: google translate and non-ascii characters

Andreas Kemnade <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

On Sat, 25 Aug 2012 20:10:09 +0000
"corvid" <[email protected]> wrote:

> Andreas wrote:
> > I tried to use translate.google.com with dillo and it does not work
> > with non-ascii characters. I do not know http by heart so that I know
> > what character set should be send in the post request but it seems
> > not to be what google expects. Words with non-ascii characters are not
> > translated and non-ascii characters are turned into questionmarks.
> 
> With our default http_user_agent setting, I see this problem as well.
> With it set to a firefox string, translate.google.com seems to work fine.
> 
I captured a http request and recoded it to utf-8 and send it using netcat.
The result was that google correctly translated that without changing
user agent.
So does google do a workaround for firefox problems, or is google broken
and/or is dillo broken here?

Greetings
Andreas Kemnade

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlA54rAACgkQvUy8S31NDeYH4ACgtQi5x0Symj2r+3KIn8ATM911
9KIAn198t/gZW5K/Nm97GjD+ClKq12sE
=nxY8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.