Do not use UTF-8 functions to measure string lengths