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: Crash when decoding UTF8
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: complex, nnorwitz
Priority: high Keywords:

Created on 2006-02-20 22:15 by complex, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unicode_crash.zip complex, 2006-02-20 22:15 Script to reproduce the crash on Python 2.4.2 windows versions
Messages (3)
msg27578 - (view) Author: Viktor Ferenczi (complex) Date: 2006-02-20 22:15
Python segfaults when running the attached script on  
Python 2.4.2 Windows versions (tested with Win98SE 
HUN and WinXP HUN SP1). 
 
Linux version (Debian unstable) works fine, but 
cannot encode text to latin-2, since it decodes utf-8 
BOM that cannot be encoded. 
msg27579 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-02-21 09:04
Logged In: YES 
user_id=33168

2.5 raises a SyntaxError: encoding problem: utf-8.  2.4
still crashes, this is probably a duplicate of a previous
bug.  Should research and backport the fix.
msg27580 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-02-21 09:20
Logged In: YES 
user_id=33168

Backported fix for bug #1435487.
Committed revision 42537. (2.4)
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42926
2006-02-20 22:15:37complexcreate