Ticket #196 (new defect)

Opened 3 years ago

Last modified 3 years ago

IMAP module should decode non-ascii folder name

Reported by: amatubu Assigned to: manni
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

decode_imap_folder.diff (3.2 kB) - added by amatubu on 10/26/14 09:29:53.
A patch to decode IMAP folder names
screenshot 2014-10-26 17.08.07.png (51.1 kB) - added by amatubu on 10/26/14 09:40:33.
A screen shot after applying the patch

Change History

10/26/14 09:29:53 changed by amatubu

  • attachment decode_imap_folder.diff added.

A patch to decode IMAP folder names

10/26/14 09:40:33 changed by amatubu

  • attachment screenshot 2014-10-26 17.08.07.png added.

A screen shot after applying the patch

10/26/14 09:45:13 changed by amatubu

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

Naoki