From e974370cf190721cc7cdd81719110220932ca659 Mon Sep 17 00:00:00 2001 From: Aigars Dzerviniks Date: Tue, 6 Aug 2013 21:25:41 +0200 Subject: [PATCH] Add additional information about encoding issues on Windows --- site/docs/windows.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/docs/windows.md b/site/docs/windows.md index 27691658..a27d5ff3 100644 --- a/site/docs/windows.md +++ b/site/docs/windows.md @@ -21,4 +21,12 @@ If you use UTF-8 encoding, make sure that no BOM 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