Change tron8to32 to handle multibyte characters only if has_mbcs is true.