Handle UTF-8 in Py strings.