node-wit
node-wit copied to clipboard
Arabic characters in node-wit are not recognised by wit.ai
Arabic characters are not recognised by wit.ai when sent through client.message(). I get either an empty entities or the wrong one:
{"_text":"سلام","entities":{},"msg_id":"18pE0IifO6KKNPw0y"}
Example of Arabic message:
client.message('سلام', {})
.then((data) => {
console.log(JSON.stringify(data));
})
.catch(console.error);
This issue does not apply to English.
Hello haydraalrikabi!
Thank you for bringing this to our attention. We are looking into the issue now and will reach out if we have questions or further followup.