change document version dto, added utf8 support for xhtmls (close #259)