Fix bug when tagging a string with non-ascii characters