Jekyll error utf-8 caracter

If you having a problem in jekyll when it didn’t generate a post and there is no error in the log file. you might want to check the content if there is any UTF-8 character encoding such as this ±

The problem arise if you use ruby 1.9. It rejecting a file that contain non-ASCII character. it actually got invalid multibyte char (US-ASCII) error message

to solve this. I added this line to .bashrc or zshrc if you are using zsh

1  export LC_ALL=en_US.UTF-8
2  export LANG=en_US.UTF-8

It should fix the problem now.