Fix unicode issue in GenericAutocompleteWidget