Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 compatibility #9

Open
movingfox opened this issue Mar 31, 2017 · 4 comments
Open

UTF-8 compatibility #9

movingfox opened this issue Mar 31, 2017 · 4 comments
Assignees
Labels

Comments

@movingfox
Copy link

It doesn't respect UTF-8 encoded text.

@techpeace
Copy link
Member

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 techpeace added the bug label Mar 31, 2017
@techpeace techpeace self-assigned this Mar 31, 2017
@movingfox
Copy link
Author

movingfox commented Mar 31, 2017

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
Copy link
Author

movingfox commented Mar 31, 2017

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.

@techpeace
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants