I have already mentioned this here -> http://www.sublimetext.com/forum/viewtopic.php?f=3&t=7291 but as I'm sure now that this is a bug I thought I'd file a bug report.
Issue: Build scripts don't work on files which contain non-ascii characters.
Reproduce: create a file test.py. Past this code into it:
- Code: Select all
print 'hello world!'
Press f7 and it'll print "hello world!" to the console.
Now, rename it to "tést.py", "täst.py" or anything else containing "strange" chars. When trying to build now, an error will show i the sublime console now:
- Code: Select all
Traceback (most recent call last):
File "./sublime_plugin.py", line 325, in run_
File "./exec.py", line 124, in run
UnicodeEncodeError: [b]'ascii' codec can't encode character[/b] u'\xe9' in position 53: ordinal not in range(128)
This is quite annoying to me as german speaker as I often have umlauts in path names. It'd not be that much to fix it I guess just add some "u"s somewhere in the right place
Thanks