#2515 closed defect (fixed)
[patch] json serializer don't pass options to simplejson.dump
Description ¶
I'm lost a few hours finding out why my utf-8 encoded strings end up with double-byte characters encoded like \u00xx\u00xx
. Finally I found ensure_ascii=False
option but it didn't work.
... (time passes) ...
Well, it seems that options are not passed to SimpleJSON -- patch attached.
Also, it's worth mentioning in docs that if you have utf-8 encoded data you must use ensure_ascii=False
option -- or simply make that default.
Change History (3)
by , 19 years ago
comment:1 by , 19 years ago
Keywords: | patch added |
---|---|
Summary: | [pach] json serializer don't pass options to simplejson.dump → [patch] json serializer don't pass options to simplejson.dump |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
small fix