Opened 9 years ago

Last modified 9 years ago

#196 new defect

IMAP module should decode non-ascii folder name

Reported by: naoki iimura Owned by: Manni Heumann
Priority: normal Milestone: 1.1.4
Component: IMAP Version: 1.1.3
Severity: normal Keywords: IMAP
Cc:

Description

If IMAP folder name includes non-ascii character (such as Japanese), the name is encoded in 'modified UTF-7' encoding:

http://en.wikipedia.org/wiki/UTF-7

We need to decode it by using Encode::IMAPUTF7:

http://search.cpan.org/~pmakholm/Encode-IMAPUTF7/

See also:

http://getpopfile.org/discussion/3/516

Naoki

Attachments (2)

decode_imap_folder.diff (3.2 KB ) - added by naoki iimura 9 years ago.
A patch to decode IMAP folder names
screenshot 2014-10-26 17.08.07.png (51.1 KB ) - added by naoki iimura 9 years ago.
A screen shot after applying the patch

Download all attachments as: .zip

Change History (3)

by naoki iimura, 9 years ago

Attachment: decode_imap_folder.diff added

A patch to decode IMAP folder names

by naoki iimura, 9 years ago

A screen shot after applying the patch

comment:1 by naoki iimura, 9 years ago

I've forgotten to mention that my patch requires Encode::IMAPUTF7 perl module.

Naoki

Note: See TracTickets for help on using tickets.