mozilla-b2g/gaia-email-libs-and-more — pull request #80 by asutherland (2012-11-16 05:11:07+00:00)
Title: Bug 804977 - Properly decode mailbox names from modified utf-7.

There's a hip new function in town, and it loves wacky encodings! Look out, fancily named IMAP folders!

r? @mozsquib

I made a unit test for the decoding function, but just manually tested the plumbing owing to the lack of an IMAP fake-server and this being a reasonably straightforward type of thing*.

* No warranty provided as to not screwing up reasonably straightforward types of things.