From: Lars Ingebrigtsen <larsi@gnus.org>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Eww can't display Chinese characters correctly.
Date: Mon, 14 Dec 2020 15:56:46 +0100 [thread overview]
Message-ID: <87lfe0307l.fsf@gnus.org> (raw)
In-Reply-To: <CAGP6PO+Q4NSKfePTHN3GxY7chs7uUhuKQLp_MbkW9u6nHmz-1Q@mail.gmail.com> (Hongyi Zhao's message of "Mon, 14 Dec 2020 22:48:40 +0800")
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.
next prev parent reply other threads:[~2020-12-14 14:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 3:30 Eww can't display Chinese characters correctly Hongyi Zhao
2020-12-14 14:01 ` Pankaj Jangid
2020-12-14 14:38 ` Hongyi Zhao
2020-12-14 14:41 ` Lars Ingebrigtsen
2020-12-14 14:48 ` Hongyi Zhao
2020-12-14 14:56 ` Lars Ingebrigtsen [this message]
2020-12-14 15:19 ` Stefan Monnier
2020-12-14 15:27 ` Lars Ingebrigtsen
2020-12-19 11:35 ` William Xu
2020-12-19 15:18 ` Lars Ingebrigtsen
2020-12-19 18:27 ` William Xu
2020-12-20 1:13 ` Hongyi Zhao
2020-12-14 18:59 ` Tomas Nordin
2020-12-14 23:22 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfe0307l.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=help-gnu-emacs@gnu.org \
--cc=hongyi.zhao@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.