how to pass a dictionary (including chinese characters) through Queueas is?

O

ouyang

Hi everyone,
As indicated in the following python script, the dictionary b has
Chinese characters: "¤¤¤å". But a.get() returns the dictionary with a
little bit different format for the "¤¤¤å¡§: '\xd6\xd0\xce\xc4' . How
can I get the dictionary through the Queue as is?
{'a': '\xd6\xd0\xce\xc4', 'c': 'abc', 'b': 1232}

Cheers.

Ouyang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top