I have a CSS file with comments written with accentuated characters (file encoded in UTF-8) and though I declared the charset to use as UTF-8 with the at-rule @charset, in the browser view source function, characters are misinterpreted.
Here's an example CSS:
@author Marc-André Joyal
@date 15 août 2012
And the generated CSS from the view source function:
* CSS Crush(ed) on 2012-08-15 14:56:58 -0400
* http://github.com/peteboere/css-crush (v1.6.0)
@author Marc-AndrÃ© Joyal
@date 15 aoÃ»t 2012
As per the W3C documentation, the charset at-rule should appear at the very start of the document.
Yep, I'll definitely look at getting this fixed.
In the meantime you can disable the output boilerplate so the charset directive is before anything else.
Resolved issues #34 and #35