From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22222: 24.4; eww ignores charset=utf-8 in text/plain Date: Thu, 24 Dec 2015 20:39:20 +0100 Message-ID: <87oadfr5zr.fsf@gnus.org> References: <87d1tzw29f.fsf@gmail.com> <83a8p2quui.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450986975 10729 80.91.229.3 (24 Dec 2015 19:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Dec 2015 19:56:15 +0000 (UTC) Cc: "Trent W. Buck" , 22222-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 24 20:56:01 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCBzR-000833-QO for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Dec 2015 20:55:57 +0100 Original-Received: from localhost ([::1]:33217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCBkA-0001j7-4W for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Dec 2015 14:40:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCBk6-0001iy-1H for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2015 14:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCBk2-0000iM-SC for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2015 14:40:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCBk2-0000iB-Oj for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2015 14:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCBk2-0004Ft-FZ for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2015 14:40:02 -0500 Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Dec 2015 19:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22222 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 22222@debbugs.gnu.org, larsi@gnus.org, trentbuck@gmail.com Original-Received: via spool by 22222-done@debbugs.gnu.org id=D22222.145098598516322 (code D ref 22222); Thu, 24 Dec 2015 19:40:02 +0000 Original-Received: (at 22222-done) by debbugs.gnu.org; 24 Dec 2015 19:39:45 +0000 Original-Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCBjk-0004FC-SG for submit@debbugs.gnu.org; Thu, 24 Dec 2015 14:39:45 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:56217) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCBjj-0004F4-CQ for 22222-done@debbugs.gnu.org; Thu, 24 Dec 2015 14:39:44 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCBjN-00039p-FH; Thu, 24 Dec 2015 20:39:21 +0100 In-Reply-To: <83a8p2quui.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 Dec 2015 19:03:17 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aCBjN-00039p-FH MailScanner-NULL-Check: 1451590761.66488@guziJVJgyOmRxAw6pLscPQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110351 Archived-At: Eli Zaretskii writes: > 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. I think it looks OK after your fixes (thanks). That code has had a lot of back-and-forth after it was adapted to allow the user to interactively change the charset, which probably explains the awkwardness of the code. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no