GET search/tweets Return value in Arabic show strange result


#1

when using GET search/tweets to return Arabic result it shows a strange character like:
\u0635\u0628\u0627\u062d \u0627\u0644\u062e\u064a\u0631 \n\u0627\u0644\u064a\u0648\u0645 \u0623\u0639\u0648\u062f \u0644\u0643\u0645 \u0641\u064a \u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u0642\u0627\u064a\u0644\u0629 \u0627\u0644\u0627\u0630\u0627\u0639\u064a \n\u0628\u0639\u062f \u0627\u0646\u062a\u0647\u0627\u0621 \u0627\u062c\u0627\u0632\u062a\u064a \u0627\u0644\u0635\u064a\u0641\u064a\u0629 \n\u0627\u0644\u0648\u0639\u062f \u0627\u0644\u0633\u0627\u0639\u0629 01:00 \u0627\u0644\u0638\u0647\u0631 \n\u0639\u0644\u0649 \u0627\u0630\u0627\u0639\u0629 \u0643\u0648\u064a\u062a\u2026

Any Suggestion?


#2

The API is returning Unicode representations of the characters. You’ll need to decode that in your application code.

… for example, pasting that data into this tool returns
صباح الخير \nاليوم أعود لكم في برنامج القايلة الاذاعي \nبعد انتهاء اجازتي الصيفية \nالوعد الساعة 01:00 الظهر \nعلى اذاعة كويت…