Encode Text as UTF-8 before highlighting (fixes #468)
Merge pull request #498 from JaCoB1123/master

Encode Text as UTF-8 before highlighting (fixes #468)