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.

Title: IDLE crashes with Japanese text on print command
Type: Stage:
Components: IDLE Versions: Python 3.0
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE: checksyntax() doesn't support Unicode?
View: 4008
Assigned To: Nosy List: amaury.forgeotdarc, pdgoins
Priority: normal Keywords:

Created on 2008-12-04 17:44 by pdgoins, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit pdgoins, 2008-12-04 17:44
Messages (2)
msg76903 - (view) Author: Paul Goins (pdgoins) * Date: 2008-12-04 17:44
Just got Python 3.0 final on Windows and was testing out IDLE, and it's
having some issues.

* Options -> Configure IDLE..., General Tab:
  Change Default Source Encoding from None to UTF-8
* Create a new python file and enter a print command
  containing Japanese text.  Save it.  (Saves to UTF-8.)
* Press F5 to run the script.  IDLE crashes.

However, if the default encoding is left as "None", and you create a new
file and allow IDLE to save it as cp932, then it runs with no problem
through IDLE.

Straight Python on a command line is not affected and reads the UTF-8
files perfectly fine.

Attached is a script which crashes IDLE every single time I run it.


- Paul Goins
msg76943 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-12-04 23:14
This is already tracked by issue4008
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48780
2008-12-04 23:14:22amaury.forgeotdarcsetstatus: open -> closed
resolution: duplicate
superseder: IDLE: checksyntax() doesn't support Unicode?
messages: + msg76943
nosy: + amaury.forgeotdarc
2008-12-04 17:44:07pdgoinscreate