From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9716: Patch for HTML5 auto-coding support Date: Tue, 18 Oct 2011 02:28:37 +0300 Organization: JURTA Message-ID: <874nz7b2ie.fsf@mail.jurta.org> References: <4E930B34.1040000@kosek.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318895719 3681 80.91.229.12 (17 Oct 2011 23:55:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 23:55:19 +0000 (UTC) Cc: 9716@debbugs.gnu.org To: Jirka Kosek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 01:55:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFx1W-0000R9-BH for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 01:55:14 +0200 Original-Received: from localhost ([::1]:58981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFx1V-0001lJ-Qo for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 19:55:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFx1S-0001l2-V6 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 19:55:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFx1R-0001ZG-VE for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 19:55:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFx1R-0001YW-P9 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 19:55:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RFx2I-0000hL-K9 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 19:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2011 23:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 9716-submit@debbugs.gnu.org id=B9716.13188957122628 (code B ref 9716); Mon, 17 Oct 2011 23:56:02 +0000 Original-Received: (at 9716) by debbugs.gnu.org; 17 Oct 2011 23:55:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFx1U-0000gL-Ed for submit@debbugs.gnu.org; Mon, 17 Oct 2011 19:55:12 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFx1Q-0000gC-No for 9716@debbugs.gnu.org; Mon, 17 Oct 2011 19:55:09 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 96D5A6E804B; Mon, 17 Oct 2011 16:54:13 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B8D74451C426; Mon, 17 Oct 2011 16:54:12 -0700 (PDT) In-Reply-To: <4E930B34.1040000@kosek.cz> (Jirka Kosek's message of "Mon, 10 Oct 2011 17:11:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 17 Oct 2011 19:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:52753 Archived-At: > please find attached patch that > > * added support for detecting encoding in HTML5 specified only as charset=***> > > Implementation just makes http-equiv and content-type parts from HTML4 > encoding string optional. The HTML5 specification says: Using a meta element with a charset attribute that specifies the encoding within the first 1024 bytes of the document. E.g. could be used to specify the UTF-8 encoding. This replaces the need for although that syntax is still allowed. that confirms that we should install the proposed patch.