grunt-contrib-sass: incompatible character encodings: UTF-8 and CP850

后端 未结 1 1682
深忆病人
深忆病人 2021-01-07 00:18

While trying to use grunt to convert my sass files into normal css files i get the warning:

Warning: Encoding::CompabilityError: incompatible character enco         


        
相关标签:
1条回答
  • 2021-01-07 01:03

    I had this error when trying to use the command:

    sass --watch global.scss:global.css --style compressed
    

    And the cause was the most stupid cause ever... I had this folder: E:\Dropbox[Websites][External] Fundación Global\css and I run the command in there, and SASS returned this same error: Warning: Encoding::CompabilityError: incompatible character encodings: UTF-8 and CP850.

    I just needed to take out the ó from the folder's path!

    That simple and silly! Just changed this: ...Fundación Global\css for this ...Fundacion Global\css and I have SASS watching with no issues again.

    0 讨论(0)
提交回复
热议问题