from jsonrpclib import jsonrpc
url = 'https://myserver.com:443'
jpc = jsonrpc.Server('%s/jsonrpc' % url)
new_string = "金衣大俠"
jpc.editqueue("NewName", new_string, 123)
The new_string appears as Ñc'à in my server.  The server supports foreign characters, if I copy the text in new_string I can paste and save it in the server through the UI (not using jsonrpc) and it appears just fine.  I would guess I have to encode my string a certain way for this to work.  Any ideas on how I can encode my string for it to work ?