TelegramMessenger / TelegramMessenger/Telegram-iOS
Search for messages function is buggy for non-English characters
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 9k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
For both official Telegram and Telegram-Fork, the search function in the Chats tab does not work correctly when searching in non-English characters, for example, Chinese characters.
Sometimes it requires users to type at least 2 characters before results can be shown; sometimes it requires users type 1 character but not more than one character in order to show correct results.
p.s. Searching in English has no problem at all.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Chats tab with Chinese or other non-English characters, comparing one-character, two-character, and longer searches against English searches. Done means search results are correct regardless of the number of non-English characters entered in both official Telegram and Telegram-Fork.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100