misc: force utf-8 locale when building scss files

This commit is contained in:
Frédéric Péters 2017-12-11 10:33:54 +01:00
parent 79e601cb22
commit b4d9522455
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ class compile_scss(Command):
if filename.startswith('_'):
continue
subprocess.check_call([sass_bin, '%s/%s' % (path, filename),
'%s/%s' % (path, filename.replace('.scss', '.css'))])
'%s/%s' % (path, filename.replace('.scss', '.css'))],
env={'LC_ALL': 'C.UTF-8'}
)
class build_icons(Command):