Fixed charset specification

The previous way of specifying charset didn't work in Firefox for me.
Merge pull request #10 from svick/patch-1

Fixed charset specification