[fix] autocomplete encoding