Z
Z
zooks2014-07-19 15:04:37
Ruby on Rails
zooks, 2014-07-19 15:04:37

Why does SASS compile to IBM866 encoding?

I set up the project through Grunt, but for some reason SASS began to add DOS encoding instead of UTF-8 in the final CSS; All .scss files are in UTF-8. config.rb
@charset "IBM866";

css_dir = "css"
sass_dir = "_/components/sass"
javascripts_dir = "js"
output_style = :compressed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2014-07-19
@zooks

config.rb

...
Encoding.default_external = "UTF-8"
....

OR
xxxx.scss
@charset "UTF-8";
...

something wrong with locales
sass-lang.com/documentation/file.SASS_REFERENCE.ht...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question