GNU bug report logs - #22222
24.4; eww ignores charset=utf-8 in text/plain

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com (Trent W. Buck)

Date: Tue, 22 Dec 2015 04:13:02 UTC

Severity: normal

Found in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22222 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: trentbuck <at> gmail.com (Trent W. Buck),
 Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 22222 <at> debbugs.gnu.org
Subject: Re: bug#22222: 24.4; eww ignores charset=utf-8 in text/plain
Date: Tue, 22 Dec 2015 19:03:17 +0200
> From: trentbuck <at> gmail.com (Trent W. Buck)
> Date: Tue, 22 Dec 2015 15:11:56 +1100
> 
> In #emacs on Freenode, "snotglob" reported that
> 
>     When I open this doc with eww
>     https://raw.githubusercontent.com/howardabrams/pdx-emacs-hackers/master/workshops/keyboard-macros.org
>     it appears that some apostrophes are shown as \342\200\231
> 
> I can reproduce his fault.

It's not that EWW ignored the charset, but it did pretty strange
things with its value, and with decoding of the text in general.

I believe I fixed that in commit 9b0f182 on the emacs-25 branch.

Lars, I'd appreciate if you could eyeball the changeset and tell if I
broke some use case.  I couldn't wrap my head around the code there
that decoded stuff (like encoding with UTF-8 and then decoding with
something that must NOT be UTF-8 -- how can that do anything useful?),
so I just rewrote that as best I could.  If I broke something, please
show the broken use case, and I will look into it.

Thanks.




This bug report was last modified 9 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.