HPCC-10560 Fix incorrect use of utf8CharLen

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>