add utf8 length spliter and fix length related issue