safer unicode on indexing