FLEXTool / FLEX

An in-app debugging and exploration tool for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change encoding in network log for response body

RaziPour1993 opened this issue · comments

{"title":"\u06f6\u06f0\u0645\u062a\u0631 \u0627\u062f\u0627\u0631\u06cc \u0642\u0648\u0644\u0646\u0627\u0645\u0647 \u0627\u06cc \u0635\u0627\u062f\u0642\u06cc\u0647"
}

I'm not sure what you mean, can you elaborate?

Json It contains Persian and Arabic words.
When showing information, it does not show Persian words correctly
And shows as follows

{"title":"\u06f6\u06f0\u0645\u062a\u0631 \u0627\u062f\u0627\u0631\u06cc \u0642\u0648\u0644\u0646\u0627\u0645\u0647 \u0627\u06cc \u0635\u0627\u062f\u0642\u06cc\u0647"
}

Simulator Screen Shot - iPhone 11 - 2020-10-05 at 16 20 03
Simulator Screen Shot - iPhone 11 - 2020-10-05 at 16 19 59

@NSExceptional

Press the settings gear on the network page and turn on "view JSON as dictionary" and you should be able to see the response as an NSString

If you copy the string and paste it somewhere, does it change to Arabic? Or is there a chance it's actually literally "\\UXXX"?

Let me know if you still need help with this and we can reopen the issue.