Sublime Forum

Sublime Text 2 Build System Encoding Issue

#1

Hi Support & Dev

I found an encoding issue in sublime text 2 build system. The build system will fail if you have any unicode characters in the cmd.

I located the bug and fixed it:

file: ~/Library/Application Support/Sublime Text 2/Packages/Default/exec.py
line: 130

change: print "Running " + " ".join(cmd)
into: print "Running " + cmd.str()

will fix it. u" ".join won’t work either.

See my blog post for detail:

(http://b.oldhu.com/2012/08/07/sublime-text-2-build-system-encoding-issue/)

0 Likes