Sass: unicode escape is not preserved in .css file

I am using a unicode escape in my .sass file and I want to preserve it, but sass is creating a weird character in the output. How to solve this?

I’m using a Mac and Sass version 3.4.13.

mborkent@MacBook-Pro-van-Michiel /tmp $ cat new.sass
.icon-ok
  &:before
    content: "e601"
mborkent@MacBook-Pro-van-Michiel /tmp $ sass new.sass new.css
mborkent@MacBook-Pro-van-Michiel /tmp $ cat new.css
@charset "UTF-8";
.icon-ok:before {
  content: ""; }

/*# sourceMappingURL=new.css.map */


Source: css

Leave a Reply