Write indexes as UTF-8