jai: Convert to valid UTF-8
Merge pull request #669 from rleigh-dundee/jai-fix-encoding

jai: Convert to valid UTF-8