Christian Mack wrote:
>
>Beware:
>If you use utf-8, you have to change all english templates to contain
>the Unicode BOM-Bytes at the beginning.


Why would this be true? Quoting from section 2.6 of the Unicode 5.0
standard
<http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf#G19273>:

  Use of a BOM is neither required nor recommended for UTF-8, but may
  be encountered in contexts where UTF-8 data is converted from other
  encoding forms that use a BOM or where the BOM is used as a UTF-8
  signature.

I would expect that one would only choose utf-8 as the character set
for english in an environment where the web server's default character
set is utf-8, and emails built from .txt templates will have a
Content-Type: header specifying the character set. Thus, I don't see
why the BOM would ever be needed.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to