Closed Bug 1818676 Opened 1 year ago Closed 1 year ago

[imap-js] RFC 6855 support - IMAP Support for UTF-8

Categories

(MailNews Core :: Networking: IMAP, enhancement)

enhancement

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: mkmelin, Assigned: rnons)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Should support IMAP Support for UTF-8.

Summary: [imap-js] RFC 6855 support IMAP Support for UTF-8 → [imap-js] RFC 6855 support - IMAP Support for UTF-8
Assignee: nobody → remotenonsense
Status: NEW → ASSIGNED

We mostly use AUTF8String for URIs (e.g. nsIMsgMessageService.DisplayMessage). Currently getURIForViewIndex returns ACString, which is then passed to DisplayMessage. It's not a problem when DisplayMessage is implemented in C++, because the representation is the same nsACString. But in JS, ImapMessageService.DisplayMessage expects a UTF-16 string, but receives a ByteString.

Target Milestone: --- → 112 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/9061feed63c9
Return AUTF8String in nsIMsgDBView.getURIForViewIndex. r=mkmelin
https://hg.mozilla.org/comm-central/rev/12968f7d51a8
Use AUTF8String for folder name/path in nsIImapServerSink. r=mkmelin
https://hg.mozilla.org/comm-central/rev/b240b50ebcd8
Support UTF-8 extension (rfc6855) in imap-js. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Duplicate of this bug: 1819110
Blocks: 1816786
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: