[New-bugs-announce] [issue6967] codec windows1256 should be windows windows-1256

Sascha report at bugs.python.org
Tue Sep 22 12:21:23 CEST 2009


New submission from Sascha <python-bugreport at discorner.de>:

It seem that there's a dash missing.

http://docs.python.org/dev/library/codecs.html#standard-encodings

>>> u'Sorry, this in here makes no sense'.encode('windows1256')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
LookupError: unknown encoding: windows1256

On the other hand windows-1256 works.

----------
assignee: georg.brandl
components: Documentation
files: codecs.rst.patch
keywords: patch
messages: 92980
nosy: DerSascha, georg.brandl
severity: normal
status: open
title: codec windows1256 should be windows windows-1256
versions: Python 2.5, Python 2.7, Python 3.1
Added file: http://bugs.python.org/file14948/codecs.rst.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6967>
_______________________________________


More information about the New-bugs-announce mailing list