Issue 4530: IDLE crashes with Japanese text on print command (original) (raw)
Just got Python 3.0 final on Windows and was testing out IDLE, and it's having some issues.
Specifically:
- 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.
Thanks.
- Paul Goins