Posts from 28 April 2013

All Posts from 28 April 2013

Nanoc, Unicode and UTF-8

When using Nanoc, if you get weird characters in your HTML in place of some special characters or accented letters, you may well need to change your character encoding.

An example is ÔÇö instead of — (an em-dash).

First check your source file is in UTF-8. For example, you can use the Encode in UTF-8 without BOM ...

*