This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Description
Font awesome host character like this:

I think the problem only happen while you compile from a folder to another.
(single file compile is fine).
but if I try compile src folder to dest folder, the problem happened:
Python 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sass
>>> sass.compile(dirname = ('.', 'output'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/sass.py", line 510, in compile
include_paths, precision, custom_functions,
File "/Library/Python/2.7/site-packages/sass.py", line 170, in compile_dirname
output_file.write(v)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf000' in position 4209: ordinal not in range(128)
>>>
The sass file looks not problem, because when I using 'sass --update src:output' is fine too.
Thank you very much.