help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eww can't display Chinese characters correctly.


From: Tomas Nordin
Subject: Re: Eww can't display Chinese characters correctly.
Date: Mon, 14 Dec 2020 19:59:54 +0100

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
>> See the attached file for more information.
>
> Oh, fun.  The test case is:
>
> M-x eww RET google.com RET
>
> type in
>
> 中文网
>
> in the search field, and Google will then redirect you to:
>
> http://www.google.com/search?gbv=1&iflsig=AINFCbYAAAAAX9eJ576dBCkZ_8MT30T-VWnLwzH6yNx4&bih=&biw=&source=hp&hl=no&ie=ISO-8859-1&btnG=Google-s%C3%B8k&q=+%E4%B8%AD%E6%96%87%E7%BD%91
>
> Which gives you:
>
> Content-Type: text/html; charset=ISO-8859-1
>
> in the headers and then
>
> <!doctype html><html lang="no"><head><meta charset="UTF-8">
>
> in the body.  So it's another example of Google Quality.
>
> eww heeds the Content-type header over the meta charset, which is the
> same as Firefox...  and Chrome, too (just try that URL).

FWIW, in emacs-w3m it looks garbled too...

>
> So it's a Google bug, not an Emacs bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]