added url encoding for notes of contacts