Question

I'm using PhpStorm and a gruntfile.js to compile and watch my .scss files.

When I use the PhpStorm terminal to watch sass with grunt watch I get the error (Line 70: Invalid US-ASCII character "\xC3") for //ééé.

But when I use the Mac terminal to watch sass with grunt watch it's working well.

All files are in UTF-8 and I updated sass/compass to the last version.

I don't know how to solve this problem. I didn't find terminal encoding setting in PhpStorm.

Was it helpful?

Solution

Thanks for your help by following your link I was able to solve the problem.

Opening PhpStorm with the terminal solve the problem but for a constant solution I edited etc/profile to add export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 than I restarted PhpStorm and all local settings were on UTF8. (Checked with $ locale)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top