Ignore encoding errors while encoding batch text.