thunderbird / thunderbird/thunderbird-android

IMAP search with non-ASCII characters fails

Open
#3,607 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Expected behavior

It should return emails that contain the keyword in the mail title.

Actual behavior

It say 'search fails' and return nothing which the one exists on the server.

Steps to reproduce

1.check enable 'server-side search' in the account settings.
2.search like using chinese character '你好'.
3.hint the button of search on server.
4.it tells 'search fails'.

But it's ok when you use english character like 'hello', it performs as indeed.
I think it's related to character code(ISO... ), like utf-8,GB18030,utf-16...

Environment

K-9 Mail version:5.600

Android version:7.1.2

Account type (IMAP, POP3, WebDAV/Exchange):IMAP,gmail

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

No source file or test is identified. Start by reproducing the failure through the IMAP account's server-side search with the Chinese keyword "你好", compare it with "hello", and verify that matching mail titles are returned without a search failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.