ritwickdey / vscode-live-sass-compiler

Compile Sass or Scss file to CSS at realtime with live browser reload feature.
https://ritwickdey.github.io/vscode-live-sass-compiler/
MIT License
660 stars 168 forks source link

encoding issue #562

Open gia-world opened 2 years ago

gia-world commented 2 years ago

i have some issue that 'compliation error; invalid utf-8' when i tried to comment in Korean. i tried to add "files.encoding": "euc-kr" in setting.json but still doesn't work. ( tried "euckr" as well but no working ) of course it works on coding scss with utf-8, but i need a file with euc-kr encoding and Korean comment.. did i put wrong setting for encoding? any other solution?

glenn2223 commented 2 years ago

Have you tried placing @charset 'utf-8'; at the start of the files that you're planning to output? Possibly even all of them 🤷

However, this may not work in this extension as it uses a very old version. Refer to #486 and you will see that I have a fork that I'm actively maintaining.