[issue13432] Encoding alias "unicode"

2011-11-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Reverse question: what would be the minus of having this alias? Please accept that this issue is closed. -- ___ Python tracker ___

[issue13432] Encoding alias "unicode"

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: > For example, when Microsoft talks about Unicode they mean UTF-16. Sorry, but UTF-16 is ambiguously: do you mean UTF-16-LE or UTF-16-BE? ;-) -- ___ Python tracker __

[issue13432] Encoding alias "unicode"

2011-11-25 Thread Georg Brandl
Georg Brandl added the comment: The mapping "unicode" -> "utf-8" is simply not defined unambiguously, in addition to being factually wrong. For example, when Microsoft talks about Unicode they mean UTF-16. -- ___ Python tracker

[issue13432] Encoding alias "unicode"

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: > Python is not a language written for the web, it's generic language to program anything! If you have a problem to parse an HTML page, the special case should be added to the HTML parser, not to the language. Do you have the encoding issue with a parser in

[issue13432] Encoding alias "unicode"

2011-11-25 Thread kxroberto
kxroberto added the comment: I wonder where is the origin, who is the inventor of the frequent charset=unicode? But: "Sorry, but it's not obviously that Unicode means UTF-8." When I faced the first time on the web, I guessed it is UTF-8 without looking. It even sounds colloquially reasonab

[issue13432] Encoding alias "unicode"

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ _

[issue13432] Encoding alias "unicode"

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Joining the chorus: people who need it in their application will have to add it themselves (monkeypatching the aliases dictionary as appropriate). -- nosy: +loewis ___ Python tracker

[issue13432] Encoding alias "unicode"

2011-11-19 Thread Georg Brandl
Georg Brandl added the comment: Definitely; this will just serve to create more confusion for beginners over what a Unicode string is: unicodestring.encode('unicode') <- WTF? -- nosy: +georg.brandl resolution: -> rejected status: open -> closed

[issue13432] Encoding alias "unicode"

2011-11-19 Thread STINNER Victor
STINNER Victor added the comment: Sorry, but it's not obviously that Unicode means UTF-8. -- nosy: +haypo ___ Python tracker ___ ___

[issue13432] Encoding alias "unicode"

2011-11-19 Thread kxroberto
Changes by kxroberto : -- components: +Unicode nosy: +ezio.melotti type: -> feature request versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue13432] Encoding alias "unicode"

2011-11-19 Thread kxroberto
New submission from kxroberto : "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). Shou