GNU bug report logs - #9716
Patch for HTML5 auto-coding support

Previous Next

Package: emacs;

Reported by: Jirka Kosek <jirka <at> kosek.cz>

Date: Mon, 10 Oct 2011 16:12:03 UTC

Severity: normal

Tags: patch

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Jirka Kosek <jirka <at> kosek.cz>
Cc: 9716 <at> debbugs.gnu.org
Subject: bug#9716: Patch for HTML5 auto-coding support
Date: Tue, 18 Oct 2011 02:28:37 +0300
> please find attached patch that
>
> * added support for detecting encoding in HTML5 specified only as <meta
> 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. <meta charset="UTF-8">
  could be used to specify the UTF-8 encoding. This replaces the need for
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  although that syntax is still allowed.

that confirms that we should install the proposed patch.




This bug report was last modified 13 years and 216 days ago.

Previous Next


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