I was working with my jekyll site, and I started getting the below error.
Jekyll Feed: Generating feed for posts
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Invalid US-ASCII character "\xE2" on line 54
jekyll 3.9.0 | Error: Invalid US-ASCII character "\xE2" on line 54
Spend a lot of time flustered and googling round, I did try to run in debug more, identifying each error and trying to fix it. But it was mundane. So after, lots of googling, here is what I found out which worked for me.
The Fix
In order to fix this, you add below variable in your .bashrc/.zshrc file (in your home folder).
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Once you have exported the language, the issue got resolved.
If you liked this article, you can buy me a coffee
Leave a comment