1👍
— encoding: utf-8
Is changing only encoding of the source file, meaning you can define variables/comments using non-ascii chars.
You can try to use
json.dumps(..., ensure_ascii=False, encoding="ISO-8859-1")
Source:stackexchange.com
1👍
Is changing only encoding of the source file, meaning you can define variables/comments using non-ascii chars.
You can try to use
json.dumps(..., ensure_ascii=False, encoding="ISO-8859-1")