Add additional information about encoding issues on Windows

This commit is contained in:
Aigars Dzerviniks 2013-08-06 21:25:41 +02:00 committed by Parker Moore
parent 12fcdd9bfa
commit e974370cf1
1 changed files with 8 additions and 0 deletions

View File

@ -21,4 +21,12 @@ If you use UTF-8 encoding, make sure that no <code>BOM</code> header
characters exist in your files or very, very bad things will happen to
Jekyll. This is especially relevant if you're running Jekyll on Windows.
Additionally, you might need to change the code page of the console window to UTF-8
in case you get a "Liquid Exception: Incompatible character encoding" error during
the site generation process. It can be done with the following command.
{% highlight bash %}
$ chcp 65001
{% endhighlight %}
[windows-installation]: http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html