Sublime Forum

Can't use danish characters in Python 3.4

#1

I got some code from someone else and they used “Æ,Ø,Å” in their code which is danish characters but I get “[Decode error - output not utf-8]” when I try to run it.
How would I get it to read these?
I have trying searching for how to encode the document or something but I can’t seem to find anything that works.
My build system is:

{ "cmd": "C:\\Python34\\python.exe", "-u", "$file"], "file_regex": "^ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python" }
Edit: Forgot to say that I can run the code from Python’s own IDLE just fine.

0 Likes

#2

Basically I have the same problem on Mac OS. I can run the code from Python IDLE without error, but using sublime build system result in error.
Does anyone know what is the solution to this issue? Thanks, M.

0 Likes