agusmakmun / django-log-viewer

Django Log Viewer allows you to read & download log files in the admin page
https://pypi.org/project/django-log-viewer/
MIT License
74 stars 30 forks source link

Non-ascii characters parse incorrectly #40

Open always-beta opened 1 year ago

always-beta commented 1 year ago

When the log file contains non-ascii characters, it seems they are parsed incorrectly.

Say I have a log file with content: [ERROR] [567719dee80742868e17b9414bed686e] 解析脚本异常

Will be parsed as:

[ERROR] [567719dee80742868e17b9414bed686e] 解析析析脚脚脚本本本异异异常常常