New submission from Sascha <python-bugrep...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to