diff --git a/tabletojson.py b/tabletojson.py index bdd4ca4..5fd9d62 100644 --- a/tabletojson.py +++ b/tabletojson.py @@ -28,7 +28,7 @@ def html_to_json(content, indent=None): items.append(index.text.strip()) if items: data.append(items) - return json.dumps(data, indent=indent) + return json.dumps(data, indent=indent, ensure_ascii=False) if __name__ == "__main__": content = "
ID Vendor Product
1 Intel Processor
2 AMD GPU
3 Gigabyte Mainboard
"