char escaping for feed