错误

在sass命令行编译中遇到了一个错误:

error E:/前端2/css揭秘/CSS-study/css揭秘/css揭秘.scss (Line 29: Invalid GBK character "\xE5")

Encoding::CompatibilityError: incompatible character encodings: GBK and ASCII-8BIT

经过查询得,是中文解码问题:

解决方案为,在sass文件开头写上:

@charset "utf-8";