You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and open link in Browser https://t.me/<username>?text=Привет это тестовый текст `any 123 code`
Or in Terminal in macOS execute command open 'tg://resolve?domain=<username>&text=Привет это тестовый текст \`any 123 code\`'
In Browser in dialog Window click "Open Telegram.app"
Will opened Telegram application and started chat with written message %D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82 %D1%8D%D1%82%D0%BE %D1%82%D0%B5%D1%81%D1%82%D0%BE%D0%B2%D1%8B%D0%B9 %D1%82%D0%B5%D0%BA%D1%81%D1%82 %60any 123 code%60
Expected behaviour
I expect that the text that I wrote will be inserted into the message input field, even if it is not ASCII characters. There should probably be a decodeURIComponent() type function running under the hood of Telegram application.
Actual behaviour
Instead of Привет это тестовый текст `any 123 code` text, I get %D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82 %D1%8D%D1%82%D0%BE %D1%82%D0%B5%D1%81%D1%82%D0%BE%D0%B2%D1%8B%D0%B9 %D1%82%D0%B5%D0%BA%D1%81%D1%82 %60any 123 code%60
Operating system
macOS Monterey 12.7 Intel
macOS Squoia 15.2 ARM
Version of Telegram Desktop
11.5.269855 Stable
Installation source
Static binary from official website
On Windows 10 all works good and Windows version Telegram have no this bug
The text was updated successfully, but these errors were encountered:
Drovosek01
changed the title
Incorrect Cyrillic text processing in link with ?text=<draft_text>
BUG: Incorrect Cyrillic text processing in link with ?text=<draft_text>
Dec 21, 2024
Drovosek01
changed the title
BUG: Incorrect Cyrillic text processing in link with ?text=<draft_text>
BUG: Incorrect non-ASCII text processing in link with ?text=<draft_text>
Dec 21, 2024
Steps to reproduce
https://t.me/<username>?text=Привет это тестовый текст `any 123 code`
Or in Terminal in macOS execute command
open 'tg://resolve?domain=<username>&text=Привет это тестовый текст \`any 123 code\`'
%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82 %D1%8D%D1%82%D0%BE %D1%82%D0%B5%D1%81%D1%82%D0%BE%D0%B2%D1%8B%D0%B9 %D1%82%D0%B5%D0%BA%D1%81%D1%82 %60any 123 code%60
Expected behaviour
I expect that the text that I wrote will be inserted into the message input field, even if it is not ASCII characters. There should probably be a
decodeURIComponent()
type function running under the hood of Telegram application.Actual behaviour
Instead of
Привет это тестовый текст `any 123 code`
text, I get%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82 %D1%8D%D1%82%D0%BE %D1%82%D0%B5%D1%81%D1%82%D0%BE%D0%B2%D1%8B%D0%B9 %D1%82%D0%B5%D0%BA%D1%81%D1%82 %60any 123 code%60
Operating system
macOS Monterey 12.7 Intel
macOS Squoia 15.2 ARM
Version of Telegram Desktop
11.5.269855 Stable
Installation source
Static binary from official website
On Windows 10 all works good and Windows version Telegram have no this bug
The text was updated successfully, but these errors were encountered: