[Tickets #9503] Double UTF7-IMAP encoding for system folders
bugs at horde.org
bugs at horde.org
Tue Jan 11 16:52:38 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9503
------------------------------------------------------------------------------
Ticket | 9503
Created By | Gunnar Wrobel <wrobel at pardus.de>
Summary | Double UTF7-IMAP encoding for system folders
Queue | IMP
Version | 4.3.9
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch | 1
Owners |
+New Attachment | t_imp_H_GW_SystemFolderPrefsDoubleEncoding.diff
------------------------------------------------------------------------------
Gunnar Wrobel <wrobel at pardus.de> (2011-01-11 11:52) wrote:
imp-4.3.9 has the following section in config/prefs.php.dist:
$_prefs['drafts_folder'] = array(
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
// 3501 [5.1.3]).
'value' => String::convertCharset(_("Drafts"), null, 'UTF7-IMAP'),
'locked' => false,
'shared' => false,
'type' => 'implicit');
At the same time the po/de_DE.po file translates the "Drafts" string
to "Entw&APw-rfe":
#: config/prefs.php.dist:304
msgid "Drafts"
msgstr "Entw&APw-rfe"
This way imp-4.3.9 creates a draft folder named "Entw&APw-rfe" (UTF-8)
by default. From the current code in git I assume the encoding in
prefs.php.dist is unnecessary. Suggested patch attached.
Original report: https://issues.kolab.org/issue4690 [kolab/issue4690
(Umlaut problems in system folders)]
More information about the bugs
mailing list