abstracthat/hexo-generator-optimize — pull request #3 by JLHwung (2014-05-16 09:00:44+00:00)
Title: fix bug for copyFileContent

In getFileContent we have read the file using utf8 encoding, if we do
not specified the encoding for writeFile, the output html file will
have all the special character escaped (e.g. the Chinese character `庭' to `庭'). Moreover, the apostrophe `` ' " will be escaped to
`'’ This bug will cause potential issue in the inline javascript of the output HTML, for example:

Some lines of Google Analytics code will turn into:
```
ga('create', 'UA-XXXXX-1', 'auto');
```
and the original one:
```
ga('create', 'UA-XXXXX-1', 'auto');
```