eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.47k stars 314 forks source link

Unicode symbols ruin Sass compilation #122

Open sergeypedan opened 9 years ago

sergeypedan commented 9 years ago

Error: Invalid US-ASCII character \"\xE2\"\A on line 26 of my_sass_file.sass @mixin list-checkmarks( $icon: \"✓\", $icon-font: \"fa\", $color: hsl(120, 100%, 25%) )

The code was "@mixin list-checkmarks( $icon: "✓", $icon-font: "fa"..."

Unfortunately it throws an error even for non-unicode symbols in comments.

Seems like the default encoding is not UTF.

krallin commented 9 years ago

Hi there,

Could you please provide the full output you're seeing?

Thanks!

sergeypedan commented 9 years ago

Hi!

Sure: screen shot 2015-03-15 at 18 00 57

The mixin from down right is imported into Cactus and stumbles upon the checkmark glyph.

Thanks!