added custom charset support for external markdown file