Improved compatibility with indexes that include utf8-encoded characters