I am trying to use localized characters, and python3 with and without the pdb module works fine. When I use PyCharm, I get an error.
# -*- coding: iso-8859-1 -*-
/Library/Frameworks/Python.framework/Versions/3.2/bin/python3 /Applications/PyCharm 1.5.4.app/helpers/pydev/pydevd.py --client 127.0.0.1 --port 53316 --file /Users/jandahl/PycharmProjects/stringReplacement/test.py
pydev debugger: starting
Connected to pydev debugger (build 107.576)
Traceback (most recent call last):
File "/Applications/PyCharm 1.5.4.app/helpers/pydev/pydevd.py", line 1203, in <module>
debugger.run(setup['file'], None, None)
File "/Applications/PyCharm 1.5.4.app/helpers/pydev/pydevd.py", line 966, in run
line = stream.readline() #Should not raise an exception even if there are no more contents
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 59: ordinal not in range(128)
I have a video demonstrating the difference in responses. You know, for kids.
I would not be completely surprised if I am doing something wrong, but I am certainly not sure of how that might be.