also escape ~ char before sending to sphinx