Some of the standard _*.scss import files, which I use in all my projects, definitely have UTF-8 characters, for example all quotes from this pages :
en.wikipedia.org/wiki/Quotation_mark_glyphs
And all my projects in the IDE have properties set as UTF-8 encoding with Unix line endings because that's 1-on-1 with their destination.
I also checked these properties on the files concerned, to make sure that the project settings were not overridden.
Right now I'm adding "-E UTF-8" to the 2 commands above. But several times I already forgot to add this switch and ended with weird characters in production.
Without this switch, Sass's Ruby scripts transcode the UTF-8 files to CP850 encoding, and then output a "CP850" encoded *.css file.
I also checked Ruby's external and internal encodings, and they were set to "CP850" and "null" respectively.
So I tried doing things the proper way by adding the "magic comment" (as the first 2 lines) to "sass.rb" and "exec.rb" to change the external encoding to UTF-8 and leave the internal at null, but that didn't do the trick for some reason.
#!/usr/bin/env ruby -w
# encoding: UTF-8
I'm looking for a more permanent resolution to output UTF-8 css files, so what's the trick?