Issue1657

classification
Title: latin-1 codecs
Type: behaviour Severity: normal
Components: Core Versions: 2.5.2b1
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: mariosergioa, pjenvey
Priority: Keywords:

Created on 2010-09-24.20:04:12 by mariosergioa, last changed 2011-02-08.01:27:27 by pjenvey.

Files
File name Uploaded Description Edit Remove
unnamed mariosergioa, 2011-01-11.15:21:30
Messages
msg6095 (view) Author: Mário Sérgio G Antunes (mariosergioa) Date: 2010-09-24.20:04:11
class org.python.core.codecs: the method encode handles ascii/latin-1 encoding before looking up for encoders, but the method decode handles only ascii. I think decode should handle enconding like encode.
msg6319 (view) Author: Philip Jenvey (pjenvey) Date: 2011-01-08.01:44:15
What problem does this cause? Can you post an example of code that shows where this will break something?
msg6322 (view) Author: Mário Sérgio G Antunes (mariosergioa) Date: 2011-01-11.15:21:30
Hi,
I solved this problem by setting
org.python.core.codecs.setDefaultEncoding("latin1")

Thanks.

Mário Sérgio

2011/1/7 Philip Jenvey <report@bugs.jython.org>

>
> Philip Jenvey <pjenvey@underboss.org> added the comment:
>
> What problem does this cause? Can you post an example of code that shows
> where this will break something?
>
> ----------
> nosy: +pjenvey
>
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue1657>
> _______________________________________
>

-- 

-------------------------------------
Mário Sérgio G. Antunes
M S Antunes Informática Ltda.
Fone: (11) 4781-1416
Cel.: (11) 9983-2860
http://www.msantunes.com.br
-------------------------------------
History
Date User Action Args
2011-02-08 01:27:27pjenveysetstatus: open -> closed
resolution: invalid
2011-01-11 15:21:30mariosergioasetfiles: + unnamed
messages: + msg6322
2011-01-08 01:44:15pjenveysetnosy: + pjenvey
messages: + msg6319
2010-09-24 20:04:12mariosergioacreate