Re: HTML5 encodings (was: Re: BOCU patent)

From: Doug Ewell (
Date: Thu Dec 24 2009 - 00:37:44 CST

  • Next message: karl williamson: "Why does tr36 say to not have > 4 byte utf8 nor go outside 10FFFF ?"

    André Szabolcs Szelp wrote:

    >> Well, here at Opera we had to disable support for two encodings
    >> (UTF-7 and UTF-32) to become HTML5 conformant, if that isn't a waste
    >> of developer time, I don't know what is :-)
    > UTF-32 is stateful/poses a security risk?

    Only if someone thinks the existence of BE and LE variants poses a
    security risk or constitutes statefulness in some way.

    Some people think "stateful" extends to multi-byte encodings, because
    you have to keep track of where you within the sequence (lead code unit,
    first trailing code unit, etc.). By that measure, UTF-32 is actually
    less stateful than -8 or -16.

    Doug Ewell  |  Thornton, Colorado, USA  |
    RFC 5645, 4645, UTN #14  |  ietf-languages @ ­

    This archive was generated by hypermail 2.1.5 : Thu Dec 24 2009 - 00:42:34 CST