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: Hongyi Zhao
Subject: Re: Eww can't display Chinese characters correctly.
Date: Tue, 15 Dec 2020 07:22:17 +0800

On Mon, Dec 14, 2020 at 10:56 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> 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.

Wonderful analysis, but I still don’t understand how you came to this
conclusion from the above URL.

>
> eww heeds the Content-type header over the meta charset, which is the
> same as Firefox...  and Chrome, too (just try that URL).
>
> So it's a Google bug, not an Emacs bug.



-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

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