Added charset conversion to UTF-8 before content extraction.(Thanks to @bkaradzic)