Fix encoding issue in table service