change HTML entity encoding

UTF8 chars should be kept intact now
prettify diff output