Adding Arabic values to an entity via curl
Using this command:
curl -XPUT 'https://api.wit.ai/entities/location_3?v=20180514'
-H 'Authorization: Bearer $mytokenhere'
-H 'Content-Type: application/json; charset: utf-8'
-d '{
"values":[
{
"value": "البنفسج"
},
{
"value": "اللوتس"
},
{
"value": "المستثمرين الشمالية"
},
{
"value": "المستثمرين الجنوبية"
}
]}'
All I get on wit.ai are question marks.

What is causing this problem?
We are looking into it, thank you for your feedback
Hey @mennafateen,
Tried the curl you provided, but I do see the Arabic values as inputted (tested on Chrome, Firefox, Edge, Internet Explorer, Safari).

May I ask what browser you're using to view these values?
Hey @jtliao,
I'm using Google Chrome but I'm still receiving those question marks.
Is there something I'm missing?
hey @mennafateen,
Can you provide your App ID? In the meantime, can you try loading the app on Chrome Incognito mode or a different browser?
Hey @jtliao,
I actually just found a workaround. I figured the problem might have been with the terminal since the Arabic characters seemed a bit weird so I tried sending the request from another terminal and it worked. I apologize for wasting your time and thank you for your help!
No worries :)
Hey @jtliao,
I actually just found a workaround. I figured the problem might have been with the terminal since the Arabic characters seemed a bit weird so I tried sending the request from another terminal and it worked. I apologize for wasting your time and thank you for your help!
I have encountered the same issue, I have tried cmd, cmder and Windows Terminal, but no luck. Which terminal you have used?