Use the correct encoding.
Merge pull request #379 from apenney/fix-locale

Use the correct encoding.