Unicode tags not properly supported
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Create tag/keyword/label in a different app (SnappyMail or Thunderbird)
- Open NC Mail app
Expected behavior
See tags like "🧪" or "ກ ຂ ຄ"
Actual behavior
Vice-versa
- Create tag/keyword/label in NC Mail app
- Open in a different app
SnappyMail shows:
Thunderbird can't handle them.
Mail app version
3.7.8
Details
IMAP 4.1 uses a modified version of UTF-7
IMAP 4.2 uses UTF-8
TAG3 SELECT "INBOX"
* FLAGS (\Answered … &2D7d6g-)
With NC Mail created tag
TAG3 SELECT "INBOX"
* FLAGS (\Answered … &2D7d6g- $&2d7d6g-)
NC Mail creates the invalid $&2d7d6g- and can't decode &2D7d6g-
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
The issue provides no file or test entry point. Start by tracing the IMAP tag and flag handling described in the reproduction, comparing modified UTF-7 decoding with UTF-8 behavior. Done means Unicode tags such as "🧪" and "ກ ຂ ຄ" round-trip correctly between NC Mail and other IMAP clients without invalid encoded flags.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100