Message74303
| Author |
loewis |
| Recipients |
loewis, vstinner |
| Date |
2008年10月04日.08:00:52 |
| SpamBayes Score |
2.4317215e-12 |
| Marked as misclassified |
No |
| Message-id |
<48E722B1.5030406@v.loewis.de> |
| In-reply-to |
<1223073433.74.0.13349664868.issue4008@psf.upfronthosting.co.za> |
| Content |
> @loewis: I guess that your locale is still UTF-8.
To refute this claim, I reported that locale.getpreferredencoding
reports 'ANSI_X3.4-1968'. I was following your instructions exactly
(on Debian 4.0), and still, it opens successfully (when loaded through
File/Open). Should I do something else with it to trigger the error,
other than opening it?
When opening iso.py, I get a pop window titled "Decoding error",
with a message "Failed to Decode". This seems to be correct also.
So I still can't reproduce the problem.
I don't understand why you say that IDLE uses open(filename, 'r').
In IOBinding.IOBinding.loadfile, I see
# open the file in binary mode so that we can handle
# end-of-line convention ourselves.
f = open(filename,'rb') |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年10月04日 08:00:54 | loewis | set | recipients:
+ loewis, vstinner |
| 2008年10月04日 08:00:53 | loewis | link | issue4008 messages |
| 2008年10月04日 08:00:52 | loewis | create |
|