Home Download Buy Blog Forum Support

How do I use a build system on Unicode filenames?

How do I use a build system on Unicode filenames?

Postby ændrük on Wed Sep 28, 2011 10:56 pm

I'm trying to use a build system that looks like this:

Code: Select all
{
   "cmd": ["xelatex", "-interaction=nonstopmode", "-papersize=letter", "$file"],
   "selector": "text.tex.latex"
}

When I run it on a file named /home/ak/project/resume/resume.tex, it completes successfully. When I run it on a file named /home/ak/project✽/resume/resume.tex, however, the following error appears in the console:

Code: Select all
Traceback (most recent call last):
  File "./sublime_plugin.py", line 257, in run_
  File "./exec.py", line 124, in run
UnicodeEncodeError: 'ascii' codec can't encode character u'\u273d' in position 75: ordinal not in range(128)

How can I make the build system compatible with Unicode characters?

Removing Unicode characters from my filesystem is not an option.
ændrük
 
Posts: 4
Joined: Wed Sep 28, 2011 5:20 pm

Return to Technical Support

Who is online

Users browsing this forum: Perkin5 and 28 guests