fix '+' and ' ' encoding issue.