I am relatively new to Jekyll but I have been working on a website relatively smoothly until now.
I could create the pages I needed and got the site and made it live.
While working on some additions the other day, out of the blue it started to give an error:
Invalid byte sequence in UTF-8.
I have started to look around and saw several topics on the github page, but nothing that worked so far for me.
I reverted everything I had been doing between the last time it built successfully and this error, and I am not able to get back to a working version. I removed all the images that I had added, a font that I had added and the 3 different pages I was working on at the time (removed them from the working directory). Still the same error.
THis is what I get:
$ bundle exec jekyll serve --watch Configuration file: /Users/clemetre/Documents/Work/DFDwebsite/_config.yml Configuration file: /Users/clemetre/Documents/Work/DFDwebsite/_config.yml Source: /Users/clemetre/Documents/Work/DFDwebsite Destination: /Users/clemetre/Documents/Work/DFDwebsite/_site Incremental build: disabled. Enable with --incremental Generating... jekyll 3.4.5 | Error: invalid byte sequence in UTF-8 $ bundle exec jekyll doctor Configuration file: /Users/clemetre/Documents/Work/DFDwebsite/_config.yml jekyll 3.4.5 | Error: invalid byte sequence in UTF-8
I added the encoding utf-8 in the _config.yml and it didn’t solve anything.
I ran a new test site jekyll and this works fine.
Does anybody have any idea to help me troubleshoot this? Or have an advice on how to solve this?
Thanks a lot!