expando icon indicating copy to clipboard operation
expando copied to clipboard

UTF-8 compatibility

Open movingfox opened this issue 8 years ago • 4 comments

It doesn't respect UTF-8 encoded text.

movingfox avatar Mar 31 '17 05:03 movingfox

Well, that's certainly a problem! Could you give me an example of an offending source file and paste in the result of attempting to run a command on the terminal?

techpeace avatar Mar 31 '17 05:03 techpeace

Attache the intents file containing Chinese characters.

defaultWelcome.txt

After updates, the characters appear in the api.ai's console as the following

嗨 ä½ å¥½ Hello

movingfox avatar Mar 31 '17 05:03 movingfox

By the way, I noticed that the original example response text (which is given by api.ai) is also corrupted as:

嘿!

It's on api.ai's server only and I don't store them locally. So I don't know if it's caused by api.ai's ruby SDK yet.

movingfox avatar Mar 31 '17 05:03 movingfox

Thanks so much for providing the additional info! We'll try to run this down as soon as we can.

techpeace avatar Mar 31 '17 05:03 techpeace