Fixes Encoding::CompatibilityError
Merge pull request #40 from papertrail/fix-encoding

Fixes Encoding::CompatibilityError