use encoding constants
Merge pull request #769 from zendesk/grosser/encoding

Prefer encoding constants to strings: `Encoding::UTF_8` vs `'utf-8'`