allow checking support for specific encoding
Merge pull request #29 from mscdex/check-encoding

allow checking support for specific encoding