W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > January 2012

Re: Other possible issues with the Polyglot draft

From: John Cowan <cowan@mercury.ccil.org>
Date: Wed, 11 Jan 2012 13:10:48 -0500
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: public-xml-core-wg@w3.org
Message-ID: <20120111181048.GF10554@mercury.ccil.org>
Henry S. Thompson scripsit:

>    Polyglot markup uses the UTF-8 character encoding, the only character
>    encoding for which both HTML and XML require support. HTML requires
>    UTF-8 to be explicitly declared to avoid fallback to a legacy encoding
>    [HTML5]. For XML, UTF-8 is an encoding default. As such, character
>    encoding may be left undeclared in XML with the result that UTF-8 is
>    still supported [XML10].
>    Polyglot markup declares the UTF-8 character encoding in the following
>    ways, which may be used separately or in combination:
>    * Within the document
>      . By using <meta charset="UTF-8"/> (the HTML encoding
>         declaration) -- preferred
>      . By using the Byte Order Mark (BOM) character.
>    * Outside the document
>      . . .


John Cowan     http://ccil.org/~cowan    cowan@ccil.org
Monday we watch-a Firefly's house, but he no come out.  He wasn't home.
Tuesday we go to the ball game, but he fool us.  He no show up.  Wednesday he
go to the ball game, and we fool him.  We no show up.  Thursday was a
double-header.  Nobody show up.  Friday it rained all day.  There was no ball
game, so we stayed home and we listened to it on-a the radio.  --Chicolini
Received on Wednesday, 11 January 2012 18:11:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:43 UTC