Open
Description
I have a task with cyrillics in tags:
task add +рабочее "Тестовая задача"
After that I start it:
task 1 start
And hook replaces +рабочее
to \u0440\u0430\u0431\u043e\u0447\u0435\u0435
:
2025-01-17 19:40:40 Tag 'рабочее' deleted.
Tag '\u0440\u0430\u0431\u043e\u0447\u0435\u0435' added.
Start set to '2025-01-17 19:40:40'.
It is due to json.dumps is missing parameter ensure_ascii = False
. From docs:
ensure_ascii (bool) – If True (the default), the output is guaranteed to have all incoming non-ASCII characters escaped. If False, these characters will be outputted as-is.
Metadata
Metadata
Assignees
Labels
No labels