Problem
- Created a new Octopress post with
rakein Windows 7’s Git Bash. - Wrote the post using gVim.
-
Ran
rake generate, and got an YAML exception:YAML Exception reading [filename].markdown: invalid byte sequence in UTF-8

Solution
- Searched “yaml exception in reading invalid byte sequence in utf-8” on Google. Sites found:
Finally, after glimpsing the above web pages, I realized that the file enconding should be UTF-8.

Thus, the editor command :se fenc=utf8 | wq will do.