[html5] r1671 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 22 15:15:02 PDT 2008


Author: ianh
Date: 2008-05-22 15:15:00 -0700 (Thu, 22 May 2008)
New Revision: 1671

Modified:
   index
   source
Log:
[acgiow] (2) Make encoding name normalisation part of the spec. ASCII spaces and punctuation get ignored. Control characters and characters above U+007F don't. ASCII text is case-insensitive.

Modified: index
===================================================================
--- index	2008-05-22 12:04:49 UTC (rev 1670)
+++ index	2008-05-22 22:15:00 UTC (rev 1671)
@@ -42047,6 +42047,16 @@
    all the IANA-registered aliases. <a
    href="#refsIANACHARSET">[IANACHARSET]</a>
 
+  <p>When comparing a string specifying a character encoding with the name or
+   alias of a character encoding to determine if they are equal, user agents
+   must ignore the all characters in the ranges U+0009 to U+000D, U+0020 to
+   U+002F, U+003A to U+0040, U+005B to U+0060, and U+007B to U+007E (all
+   whitespace and punctuation characters in ASCII) in both names, and then
+   perform the comparison case-insensitively<!-- XXX ASCII -->.
+
+  <p class=example>For instance, "GB_2312-80" and "g.b.2312(80)" are
+   considered equivalent names.
+
   <p>When a user agent would otherwise use an encoding given in the first
    column of the following table, it must instead use the encoding given in
    the cell in the second column of the same row. Any bytes that are treated
@@ -51144,29 +51154,31 @@
    Distler, James Graham, James Justin Harrell, James M Snell, James Perrett,
    Jan-Klaas Kollhof, Jason White, Jasper Bryant-Greene, Jeff Cutsinger, Jeff
    Walden, Jens Bannmann, Jens Fendler, Jeroen van der Meer, Jim Jewett, Jim
-   Meehan, Joe Clark, Jjgod Jiang, Joel Spolsky, John Boyer, John Bussjaeger,
-   John Harding, Johnny Stenback, Jon Perlow, Jonathan Worent, Jorgen
-   Horstink, Josh Levenberg, Joshua Randall, Jukka K. Korpela, Julian
-   Reschke, Kai Hendry, <!-- Keryx Web, = Lars Gunther --> Kornel Lesinski,
-   &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof Zelechovski,
-   Lachlan Hunt, Larry Page, Lars Gunther, Laura L. Carlson, Laura Wisewell,
-   Laurens Holst, Lee Kowalkowski, Leif Halvard Silli, Lenny Domnitser,
-   Léonard Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->,
-   Loune, Maciej Stachowiak, Magnus Kristiansen<!-- Dashiva -->, Malcolm
-   Rowe, Mark Nottingham, Mark Rowe<!--bdash-->, Mark Schenk, Martijn
-   Wargers, Martin Atkins, Martin Dürst, Martin Honnen, Masataka Yakura,
-   Mathieu Henri, Matthew Mastracci, Matthew Raymond, Matthew Thomas, Mattias
-   Waldau, Max Romantschuk, Michael 'Ratt' Iannarelli, Michael A. Nachbaur,
-   Michael A. Puls II<!--Shadow2531-->, Michael Carter, Michael Gratton,
-   Michael Powers, Michael(tm) Smith, Michel Fortin, Michiel van der Blonk,
-   Mihai &#x015E;ucan<!-- from ROBO Design -->, Mike Brown, Mike
+   Meehan, Joe Clark, Jjgod Jiang, Joel Spolsky, Johan Herland, John Boyer,
+   John Bussjaeger, John Harding, Johnny Stenback, Jon Perlow, Jonathan
+   Worent, Jorgen Horstink, Josh Levenberg, Joshua Randall, Jukka K. Korpela,
+   Julian Reschke, Kai Hendry, <!-- Keryx Web, = Lars
+  Gunther --> Kornel
+   Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof
+   Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura L. Carlson,
+   Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif Halvard Silli, Lenny
+   Domnitser, Léonard Bouchet, Leons Petrazickis,
+   Logan<!-- on moz irc -->, Loune, Maciej Stachowiak, Magnus
+   Kristiansen<!-- Dashiva -->, Malcolm Rowe, Mark Nottingham, Mark
+   Rowe<!--bdash-->, Mark Schenk, Martijn Wargers, Martin Atkins, Martin
+   Dürst, Martin Honnen, Masataka Yakura, Mathieu Henri, Matthew
+   Mastracci, Matthew Raymond, Matthew Thomas, Mattias Waldau, Max
+   Romantschuk, Michael 'Ratt' Iannarelli, Michael A. Nachbaur, Michael A.
+   Puls II<!--Shadow2531-->, Michael Carter, Michael Gratton, Michael Powers,
+   Michael(tm) Smith, Michel Fortin, Michiel van der Blonk, Mihai
+   &#x015E;ucan<!-- from ROBO Design -->, Mike Brown, Mike
    Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike Schinkel, Mike Shaver,
    Mikko Rantalainen, Neil Deakin, Neil Soiffer, Olaf Hoffmann, Olav Junker
-   Kjær, Oliver Hunt, Peter Kasting, Philip Taylor, Philip
-   TAYLOR<!-- a different one -->, Rachid Finge, Rajas Moonka, Ralf Stoltze,
-   Ralph Giles, Raphael Champeimont, Rene Saarsoo, Richard Ishida, Rimantas
-   Liubertas, Robert O'Callahan, Robert Sayre, Roman Ivanov, S. Mike Dierken,
-   Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia
+   Kjær, Oliver Hunt, Peter Karlsson, Peter Kasting, Philip Taylor,
+   Philip TAYLOR<!-- a different one -->, Rachid Finge, Rajas Moonka, Ralf
+   Stoltze, Ralph Giles, Raphael Champeimont, Rene Saarsoo, Richard Ishida,
+   Rimantas Liubertas, Robert O'Callahan, Robert Sayre, Roman Ivanov, S. Mike
+   Dierken, Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia
    Pfeiffer, Simon Pieters, Stefan Haustein, Stephen Ma, Steve Faulkner,
    Steve Runyon, Steven Garrity, Stewart Brodie, Stuart Parmenter, Sunava
    Dutta, Tantek Çelik, Terrence Wood, Thomas Broyer, Thomas O'Connor,

Modified: source
===================================================================
--- source	2008-05-22 12:04:49 UTC (rev 1670)
+++ source	2008-05-22 22:15:00 UTC (rev 1671)
@@ -39711,6 +39711,17 @@
   should support all the IANA-registered aliases. <a
   href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
+  <p>When comparing a string specifying a character encoding with the
+  name or alias of a character encoding to determine if they are
+  equal, user agents must ignore the all characters in the ranges
+  U+0009 to U+000D, U+0020 to U+002F, U+003A to U+0040, U+005B to
+  U+0060, and U+007B to U+007E (all whitespace and punctuation
+  characters in ASCII) in both names, and then perform the comparison
+  case-insensitively<!-- XXX ASCII -->.</p>
+
+  <p class="example">For instance, "GB_2312-80" and "g.b.2312(80)" are
+  considered equivalent names.</p>
+
   <p>When a user agent would otherwise use an encoding given in the
   first column of the following table, it must instead use the
   encoding given in the cell in the second column of the same row. Any
@@ -46362,38 +46373,38 @@
   Justin Harrell, James M Snell, James Perrett, Jan-Klaas Kollhof,
   Jason White, Jasper Bryant-Greene, Jeff Cutsinger, Jeff Walden, Jens
   Bannmann, Jens Fendler, Jeroen van der Meer, Jim Jewett, Jim Meehan,
-  Joe Clark, Jjgod Jiang, Joel Spolsky, John Boyer, John Bussjaeger,
-  John Harding, Johnny Stenback, Jon Perlow, Jonathan Worent, Jorgen
-  Horstink, Josh Levenberg, Joshua Randall, Jukka K. Korpela, Julian
-  Reschke, Kai Hendry, <!-- Keryx Web, = Lars Gunther --> Kornel
-  Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi),
-  Kristof Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura
-  L. Carlson, Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif
-  Halvard Silli, Lenny Domnitser, Léonard Bouchet, Leons
-  Petrazickis, Logan<!-- on moz irc -->, Loune, Maciej Stachowiak,
-  Magnus Kristiansen<!-- Dashiva -->, Malcolm Rowe, Mark Nottingham,
-  Mark Rowe<!--bdash-->, Mark Schenk, Martijn Wargers, Martin Atkins,
-  Martin Dürst, Martin Honnen, Masataka Yakura, Mathieu Henri,
-  Matthew Mastracci, Matthew Raymond, Matthew Thomas, Mattias Waldau,
-  Max Romantschuk, Michael 'Ratt' Iannarelli, Michael A. Nachbaur,
-  Michael A. Puls II<!--Shadow2531-->, Michael Carter, Michael
-  Gratton, Michael Powers, Michael(tm) Smith, Michel Fortin, Michiel
-  van der Blonk, Mihai &#x015E;ucan<!-- from ROBO Design -->, Mike
-  Brown, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike
+  Joe Clark, Jjgod Jiang, Joel Spolsky, Johan Herland, John Boyer,
+  John Bussjaeger, John Harding, Johnny Stenback, Jon Perlow, Jonathan
+  Worent, Jorgen Horstink, Josh Levenberg, Joshua Randall, Jukka
+  K. Korpela, Julian Reschke, Kai Hendry, <!-- Keryx Web, = Lars
+  Gunther --> Kornel Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7;
+  (KUROSAWA Takeshi), Kristof Zelechovski, Lachlan Hunt, Larry Page,
+  Lars Gunther, Laura L. Carlson, Laura Wisewell, Laurens Holst, Lee
+  Kowalkowski, Leif Halvard Silli, Lenny Domnitser, Léonard
+  Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->, Loune, Maciej
+  Stachowiak, Magnus Kristiansen<!-- Dashiva -->, Malcolm Rowe, Mark
+  Nottingham, Mark Rowe<!--bdash-->, Mark Schenk, Martijn Wargers,
+  Martin Atkins, Martin Dürst, Martin Honnen, Masataka Yakura,
+  Mathieu Henri, Matthew Mastracci, Matthew Raymond, Matthew Thomas,
+  Mattias Waldau, Max Romantschuk, Michael 'Ratt' Iannarelli, Michael
+  A. Nachbaur, Michael A. Puls II<!--Shadow2531-->, Michael Carter,
+  Michael Gratton, Michael Powers, Michael(tm) Smith, Michel Fortin,
+  Michiel van der Blonk, Mihai &#x015E;ucan<!-- from ROBO Design -->,
+  Mike Brown, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike
   Schinkel, Mike Shaver, Mikko Rantalainen, Neil Deakin, Neil Soiffer,
-  Olaf Hoffmann, Olav Junker Kjær, Oliver Hunt, Peter Kasting,
-  Philip Taylor, Philip TAYLOR<!-- a different one -->, Rachid Finge,
-  Rajas Moonka, Ralf Stoltze, Ralph Giles, Raphael Champeimont, Rene
-  Saarsoo, Richard Ishida, Rimantas Liubertas, Robert O'Callahan,
-  Robert Sayre, Roman Ivanov, S. Mike Dierken, Sam Ruby, Sam Weinig,
-  Scott Hess, Sean Knapp, Shaun Inman, Silvia Pfeiffer, Simon Pieters,
-  Stefan Haustein, Stephen Ma, Steve Faulkner, Steve Runyon, Steven
-  Garrity, Stewart Brodie, Stuart Parmenter, Sunava Dutta, Tantek
-  Çelik, Terrence Wood, Thomas Broyer, Thomas O'Connor, Tim
-  Altman, Tim Johansson, Tyler Close, Vladimir
-  Vuki&#x0107;evi&#x0107;, Wakaba, Wayne Pollock, William Swanson, and
-  Øistein E. Andersen, for their useful and substantial
-  comments.</p>
+  Olaf Hoffmann, Olav Junker Kjær, Oliver Hunt, Peter Karlsson,
+  Peter Kasting, Philip Taylor, Philip TAYLOR<!-- a different one -->,
+  Rachid Finge, Rajas Moonka, Ralf Stoltze, Ralph Giles, Raphael
+  Champeimont, Rene Saarsoo, Richard Ishida, Rimantas Liubertas,
+  Robert O'Callahan, Robert Sayre, Roman Ivanov, S. Mike Dierken, Sam
+  Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia
+  Pfeiffer, Simon Pieters, Stefan Haustein, Stephen Ma, Steve
+  Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie, Stuart
+  Parmenter, Sunava Dutta, Tantek Çelik, Terrence Wood, Thomas
+  Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Tyler Close,
+  Vladimir Vuki&#x0107;evi&#x0107;, Wakaba, Wayne Pollock, William
+  Swanson, and Øistein E. Andersen, for their useful and
+  substantial comments.</p>
 
   <p>Thanks also to everyone who has ever posted about HTML5 to their
   blogs, public mailing lists, or forums, including the <a




More information about the Commit-Watchers mailing list