store json as utf-8
This commit is contained in:
parent
e7a4f42da5
commit
90648f9e65
1 changed files with 1 additions and 0 deletions
|
@ -8,4 +8,5 @@ def loads(*args, **kwargs):
|
|||
|
||||
def dumps(*args, **kwargs):
|
||||
#print('dumps', args, kwargs)
|
||||
kwargs['ensure_ascii'] = False
|
||||
return json.dumps(*args, **kwargs).encode()
|
||||
|
|
Loading…
Reference in a new issue