MODULES-780 Don't blow up on unicode characters.