encode uri components when doing people search