wit-ai/node-wit

Arabic characters in node-wit are not recognised by wit.ai

haydaralrikabi opened this issue · 1 comments

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.