Support str type in email charset detection.
Merge remote-tracking branch 'refs/remotes/ivan/feature/support-str-in-charset-detection' into develop