This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: codec windows1256 should be windows windows-1256
Type: Stage:
Components: Documentation Versions: Python 3.1, Python 2.7, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: DerSascha, georg.brandl
Priority: normal Keywords: patch

Created on 2009-09-22 10:21 by DerSascha, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
codecs.rst.patch DerSascha, 2009-09-22 10:21 add missing dash
Messages (2)
msg92980 - (view) Author: Sascha (DerSascha) Date: 2009-09-22 10:21
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.
msg92982 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-22 10:55
Fixed in r75015.
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51216
2009-09-22 10:55:28georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg92982
2009-09-22 10:21:22DerSaschacreate