Added checks for encoding
Merge pull request #16 from lassodatasystems/check-for-encoding

Added checks for encoding