fix for new null-terminated UTF16Strings