SASS compile fontawesome preserve notation
If you are using Gulp to compile your CSS, you can install this gulp plugin and it will automatically fix the issue for you. No Sass code alterations necessary.
https://www.npmjs.com/package/gulp-sass-unicode
var sass = require('gulp-sass');
var sassUnicode = require('gulp-sass-unicode');
gulp.task('sass', function(){
gulp.src('style.scss')
.pipe(sass())
.pipe(sassUnicode()) // << This line is what does the magic
.pipe(gulp.dest( "css/" ));
});
Extract from Sass 3.4.0 changelog: Sass now follows the CSS Syntax Level 3 specification for determining a stylesheet’s encoding. In addition, it now only emits UTF-8 CSS rather than trying to match the source encoding.
Now no way for use old method
Issue on SASS repo
For me, rollback to SASS 3.3.14 fix this