Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Display original utf-8 string #11

sodastsai opened this Issue · 3 comments

3 participants


Hello, I'm a happy user with your safari extension.
I'm a iOS and django developer.
The django side will output JSON format to iOS side.
Your extension helps me a lot while checking the content django returned.

But currently, I have to check some JSON output with some UTF-8 Chinese string.
for example:
{"patientType": "\u9580\u8a3a"}
which should be
{"patientType": "門診"}

I have no idea how to solve this in an extension development.
But I hope one day I can use your extension for checking JSON with non-English content.
Thanks very much.


I found that it's quite easy fix this by adding a line
obj = eval('"'+obj+'"');
in renderString function before the return line.
the eval will make \u9580 to its original value in Chinese.


Yeah, this is a bit frustrating.



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.