I'll open with a summary, present details of the problem, and then present what I think should have happened. As an appendix, I'll include the full output of an IMAP "x list inbox.* *" command, and the full html page produced by IMP's "folders.php" page. (The inclusion of the "folders.php" page is the reason this report is so long -- 63k of that, compared against 8k of my own text.) Be aware that the some of the html excerpts in this document use ASCII NULLs. Handle this text file with tools that will leave the NULLs intact. If you think the file has been corrupted, you can go to to find a link to the original copy of the file. One of my goals is for IMP to be fixed so that it stops putting NULLs into its html. Problem summary: --------------- This bug report concerns IMP's html frontend. Even though IMP is capable of reading UTF-7 encoded Unicode folder names from the imap server, IMP messes up when re-coding the Unicode names into the html presented to the user's browser. Raw double-byte characters are dropped into the html stream without any labeling or protection; the browser renders them as pairs of single-byte characters, destroying any original meaning. Additionally, it's not possible to click-navigate to folders whose names use Unicode, because IMP does not accept as input the html links that it itself produced as output. Effects: The drop-down menus on the corners of pages have wrongly displayed names, and don't work when I choose a Unicode-named folder from the menu. The list of folders produced by "folders.php" has wrongly displayed names, fails to list all of my folders, and doesn't work when I choose a Unicode-named folder on the page. Details of the problem: ----------------------- According to the footer on the login page, I'm using IMP 3.0. My imap account has folders designed to stress-tests imap clients. Some of the names (as stored on the server) include: x list inbox.utf.* * [...] * LIST () "." "inbox.utf.&-AMA-" * LIST () "." "inbox.utf.&AMA-" * LIST () "." "inbox.utf.&ICI-" * LIST () "." "inbox.utf.&ZeVnLIqe-.&U,BTFw-" [...] x OK Completed The "&ZeVnLIqe-"/"&U,BTFw-" name is copied straight from rfc 2060 and was created by hand. The other folder names were created with Mozilla. All encoded names are decoded properly by Mozilla and by Outlook and by IMP's imap backend. IMP's web pages have a drop-down menu (a
Only the

Help Expand All | Collapse All # Unseen Messages
Collapse FolderINBOX  INBOX   325 2
Mailbox  1-deal      
Mailbox  2-deal      
Mailbox  3-fade      
Mailbox  2000      
Mailbox  2001      
Mailbox  2002      
Mailbox  2003      
Mailbox  Christmas      
Collapse FolderMailbox  config      
Mailbox  addressbook      
Mailbox  pinerc      
Mailbox  Drafts      
Mailbox  ee      
Mailbox  Examples      
Mailbox  exmh      
Mailbox  inbox2      
Mailbox  listserv      
Mailbox  mh-inbox-1      
Mailbox  mh-inbox-2      
Mailbox  mh-inbox-3      
Mailbox  microsoft      
Mailbox  mime-samples      
Mailbox  nashbar      
Mailbox  nd      
Mailbox  newfolder      
Mailbox  old      
Mailbox  physics      
Mailbox  pine      
Mailbox  postponed-msgs      
Mailbox  quota      
Mailbox  quux      
Mailbox  Saved      
Mailbox  saved-messages      
Mailbox  Sent      
Mailbox  sent-mail      
Mailbox  sipb      
Mailbox  sipb-ec      
Mailbox  Templates      
Mailbox  todo      
Mailbox  Trash      
Collapse FolderMailbox  utf      
Mailbox    "       
Mailbox   Bullet       
Mailbox   Bullet  "      
Mailbox   "      
Mailbox  &AMA-      
Mailbox  &Tow-      
Mailbox  &ToY-      
Mailbox  &ZeVnLIqe-      
Mailbox  00^0N      
Collapse FolderMailbox  eg,      
Mailbox  <      
Mailbox  r      
Mailbox  SS      
Mailbox  N      
Collapse FolderMailbox  N      
Mailbox  N      
Mailbox  N      
Help Expand All | Collapse All # Unseen Messages
MIT WebMail (IMP 3.0)