TelegramMessenger / TelegramMessenger/Telegram-iOS

Search for messages function is buggy for non-English characters

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

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.

IMG_7E7C754C3CDB-1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.