Fix for encoding issues with non-ASCII sites.
Merge pull request #12 from bdoms/encoding-fix

Fix for encoding issues with non-ASCII sites.