Use text_type instead of str to handle unicode.
Merge pull request #1 from novapost/case-sensitive-cfg

Use text_type instead of str to handle unicode.