thunderbird / thunderbird/thunderbird-android
IMAP search with non-ASCII characters fails
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
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
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