Add and pass testReturnsNullIfCantFindCharset
Add docs
Merge branch 'feature/charset'