jekyll / jekyll

:globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby

Home Page:https://jekyllrb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Russian in title

neosunchess opened this issue · comments

I installed Jekyll on windows (with ruby oneclick installer and devkit) When I set title of post in russian, ive got an error:

C:/Ruby191/lib/ruby/gems/1.9.1/gems/liquid-2.1.3/lib/liquid/template.rb:124:in `join': incompatible character encodings: UTF-8 and IBM866 (Encoding::CompatibilityError)

Is it a bug?

Try to set the locale correctly. See my gist 911225.

or try this before jekyll command

chcp 65001

@argent-smith chcp 65001 helped me once. Can I do it automatically with your gist? I'm newbee to ruby, so i don't even know what can i do with it.

I'm not too sure what the problem is here, or what Jekyll is doing wrong. If you have more info please yell. On that note, Jekyll is not officially supported on Windows.