I have a task with cyrillics in tags:
task add +рабочее "Тестовая задача"
After that I start it:
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.
I have a task with cyrillics in tags:
After that I start it:
And hook replaces
+рабочееto\u0440\u0430\u0431\u043e\u0447\u0435\u0435:It is due to json.dumps is missing parameter
ensure_ascii = False. From docs: