I figured out the cause of the problem is JSON parsing.
I looked into the difference between the insert request of python's and objective-c's.
Python's one seems ensure_ascii encoded (simplejson's default) but the objective-c's is not. It is written in UTF-8.
Then, I checked GTLJsonParser and found it mainly uses NSJSONSeriarlization or SBJsonParser inside.
Both of them only supports UTF-8 output. No ascii option.
So, I changed a few part of the library code to make all the JSON serialization ensure_ascii like python does.
It works fine and the problem looks vanished.
However, I am not very sure if changing all the JSON serialization to ensure_ascii ones is okay or not.
Could somebody check my code? If there is a potential risk, please tell me of it.
I have created a fork of DrEdit with the fix on GitHub. The url is below.
Any help is welcome. Thanks in advance!