Title: codec windows1256 should be windows windows-1256
Type: Stage:
Components: Documentation Versions: Python 3.1, Python 2.7, Python 2.5
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 2009-09-22 10:55 by georg.brandl. This issue is now closed.

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.

>>> 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.
Date User Action Args
2009-09-22 10:55:28georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg92982
2009-09-22 10:21:22DerSaschacreate