-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid byte sequence error during rake generate #267
Comments
Just set your locale in your
|
That did it. Thanks! |
have the exact same issue at the moment, but setting the LANG and LC variables doesn't seem to help: /Users/frank/.rvm/gems/ruby-1.9.3-p0/gems/jekyll-0.11.0/lib/jekyll/convertible.rb:29:in `read_yaml': invalid byte sequence in UTF-8 (ArgumentError) |
Having the exact same issue, the ~/.profile trick does not work either. |
In my case, setting the LC_CTYPE exclusively, worked:
*not sure why LC_ALL override doesn't work |
Having the same issue now. Tried setting the 3 variables, but none of them worked. |
Check if your text files have non-recognized characters, that fixed it for 2012/8/31 Larry Zhao notifications@github.com
|
@bbonamin Yes, I went down that road yesterday after post that comment and finally found the cause. Thanks. :) |
I've recently converted my Jekyll blog to Octopress. The process was quite smooth, but then I ran into a very strange problem. When I run
rake generate
on my home mac - everything works fine. When I run it on my work macbook, however, I get this error:I've googled a bit and saw that others have experienced the problem as well, but I didn't find a clear solution to the problem. I'm pretty sure that the YAML front matter of my posts is OK - nothing but English in it. And what's most puzzling is that on my two macs my setup is exactly the same (or at least it seems the same to me). Any ideas how should I proceed?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: