node-wit icon indicating copy to clipboard operation
node-wit copied to clipboard

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

Open haydaralrikabi opened this issue 4 years ago • 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.

haydaralrikabi avatar Apr 05 '20 10:04 haydaralrikabi

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.

kitchWWW avatar Apr 06 '20 16:04 kitchWWW