Force encoding to UTF8 before passing content to highlighter