Fixing text.translate() using UTF