algolia / jekyll-algolia

Add fast and relevant search to your Jekyll site
https://community.algolia.com/jekyll-algolia/
MIT License
214 stars 35 forks source link

Encoding error when attempting to push index #116

Closed EdenKupe closed 5 years ago

EdenKupe commented 5 years ago

I want to report a bug:

What is the current behavior?

when attempting to execute "bundle exec jekyll algolia", I receive an error "Error: incompatible character encodings: IBM437 and UTF-8"

What is your expected behavior?

Proper building and pushing of the index.

Git repository to reproduce the issue:

https://github.com/EdenKupe/anarchysf

Ruby version used:

ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]

Jekyll version used:

jekyll 3.8.5

Thank you!

EdenKupe commented 5 years ago

For future readers, this was solved by running a Markdown linter on my pages. They were converted from old HTML and probably had some non-standard characters in there.

Bottom line, run a linter on your content and make sure there are no characters the crawler might take issue with.