Issue 1100: Can't input non-ascii characters in interactive mode (original) (raw)

Issue1100

Created on 2007-09-04 06:50 by philyoon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg55632 - (view) Author: Sangpil Yoon (philyoon) Date: 2007-09-04 06:50
I'm not sure if this is a bug or a designed behavior, but I think it would be nice for beginners to be able to enter his/her local characters from an interactive prompt. As interactive mode lacks source code encoding declaration, the interpreter seems to assume that its input is encoded in UTF-8, when the actual characters you enter are not. Fix for issue #1097 doesn't seem to help. I'm using Microsoft Windows XP Korean. >>> print('์œค์ƒํ•„') File "", line 1 SyntaxError: (unicode error) illegal encoding
msg55633 - (view) Author: Martin v. Lรถwis (loewis) * (Python committer) Date: 2007-09-04 09:18
Thanks for the report. This is now fixed in r57957 (although I tested it only on Unix).
msg55635 - (view) Author: Sangpil Yoon (philyoon) Date: 2007-09-04 09:38
It's working fine on Windows XP. Thanks.
History
Date User Action Args
2022-04-11 14:56:26 admin set github: 45441
2007-09-04 09:38:39 philyoon set messages: +
2007-09-04 09๐Ÿ”ž53 loewis set status: open -> closedresolution: fixedmessages: + nosy: + loewis
2007-09-04 06:50:52 philyoon set type: behavior
2007-09-04 06:50:39 philyoon create