Skip to content

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

Description

@haydaralrikabi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions