keep bytes & unicode straight in autocomplete_server