unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Jirka Kosek <jirka@kosek.cz>
Cc: 9716@debbugs.gnu.org
Subject: bug#9716: Patch for HTML5 auto-coding support
Date: Tue, 18 Oct 2011 02:28:37 +0300	[thread overview]
Message-ID: <874nz7b2ie.fsf@mail.jurta.org> (raw)
In-Reply-To: <4E930B34.1040000@kosek.cz> (Jirka Kosek's message of "Mon, 10 Oct 2011 17:11:48 +0200")

> 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.





  reply	other threads:[~2011-10-17 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 15:11 bug#9716: Patch for HTML5 auto-coding support Jirka Kosek
2011-10-17 23:28 ` Juri Linkov [this message]
2011-10-18  1:54   ` Stefan Monnier
2011-10-18  8:03     ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nz7b2ie.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=9716@debbugs.gnu.org \
    --cc=jirka@kosek.cz \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).