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: Lars Ingebrigtsen
Subject: Re: Eww can't display Chinese characters correctly.
Date: Mon, 14 Dec 2020 15:56:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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).

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



reply via email to

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