sublime-less2css
sublime-less2css copied to clipboard
Fix/file encoding
Tim, I think I fixed the problem with file names containing a special char. I've tested on Windows 7 and on OSX 10.8.4. It seems to work well on these systems but I was wondering if you have something else at your disposal to test this fix before rolling it out.
I should be able to test on ubuntu in the next few days
Looks like it fails on ubuntu 12.04
Tried to save a file called téstubuntu.less
Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./less2css.py", line 45, in run
File "./lesscompiler.py", line 83, in convertOne
File "./lesscompiler.py", line 154, in convertLess2Css
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Okay, I will have a look at it... perhaps somewhere I need to add a check for Linux or something.