Fix for issue 210 - incorrect encoding
Merge pull request #211 from smasterson/FixIssue210

Fix for issue 210 - incorrect encoding