speed up utf8.sub(); avoid conditionals in loops