I'm using node.js and express to send a json file to client. The String in the database is something like "السلام", but the output of json in the browser looks like this "های پاتایا".
Now the Jquery(or maybe something else) in the browser correctly decodes this into arabic, but in the android app, it's still an alien language.
How can I make this string converted into valid Arabic?
The code is pretty simple:
return res.json({result: resultFromDB});
even if I did something like this:
return res.json({result: "John Döm"});
it would give something like {"result":"John Döm"}
try this:
res.json('{"result":"السلام"}')