By default, the output encoding in a sublime build is utf-8. This will cause an error if there are non-utf-8 characters in your sass or scss.
You can create a custom sass .sublime-build along the lines of the following by going to Tools > Build System > New Build System.
{
"cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.css", "--stop-on-error", "--no-cache"],
"selector": "source.sass, source.scss",
"line_regex": "Line ([0-9]+):",
"osx":
{
"path": "/usr/local/bin:$PATH"
},
"windows":
{
"shell": "true"
}
"encoding": "cp1252"
}
Note the key (the only one that'll be surplus from the installed package) "encoding": "cp1252". Its value will have to match that of your source or be a superset thereof. There's a fairly comprehensive list of codecs in the Python docs.
.cssfile? - MattDMosassis a compiler that turns nice, pretty, fun-to-write SASS/SCSS into functional (but more difficult to write) CSS. So, you need some SASS or SCSS input to feed to the compiler, which (when set up properly) spits out CSS for your site. Visit the SASS website to learn how to download, install, and set up everything. The Package Control page forSASS Buildis also helpful. - MattDMo