hey i'm trying to get a facebook page posts
my problem is a specific post contain english and arabic and english text
the arabic text returned as hex string like this
\u0641\u064a_\u0623\u0628\u0648\u0638\u0628\u064a\
even if i added "UTF-8" but this didn't do any thing
InputStream in = new BufferedInputStream(urlConnection.getInputStream());
result = IOUtils.toString(in, "UTF-8");
i tried to parse the response using apache common Hex class but i dont want to split the response and parse the arabic text individually.
and ideas on how i can do this
Note:Even if i tried same request on the browser i get same result only graph explorer show the text correctly
Aucun commentaire:
Enregistrer un commentaire