[issue13432] Encoding alias "unicode"
kxroberto
report at bugs.python.org
Sat Nov 19 12:35:12 CET 2011
New submission from kxroberto <kxroberto at users.sourceforge.net>:
"unicode" seems not to be an official unicode encoding name alias.
Yet it is quite frequent on the web - and obviously means UTF-8.
(search '"text/html; charset=unicode"' in Google)
Chrome and IE display it as UTF-8. (Mozilla as ASCII, thus mixed up chars).
Should it be added in to aliases.py ?
--- ./aliases.py
+++ ./aliases.py
@@ -511,6 +511,7 @@
'utf8' : 'utf_8',
'utf8_ucs2' : 'utf_8',
'utf8_ucs4' : 'utf_8',
+ 'unicode' : 'utf_8',
# uu_codec codec
'uu' : 'uu_codec',
----------
messages: 147936
nosy: kxroberto
priority: normal
severity: normal
status: open
title: Encoding alias "unicode"
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13432>
_______________________________________
More information about the Python-bugs-list
mailing list