Andrej-Adamenko / Taskhelper

Telegram bot for managing tasks
0 stars 1 forks source link

Broken tags in tickets with emojis in text #75

Closed DnRuban closed 1 month ago

DnRuban commented 5 months ago

If you add emoji in the ticket text it will break hashtag parsing, and with each update tags will be duplicated on the new line.

This is happening because entity offsets and lengths measured in utf16 encoded text, but the text itself encoded in utf8.

Lebed02 commented 4 months ago

Approved. Issues not found. All works good.