GETMETADATA UTF8 encoding of folder names instead of UTF7
27 Sep
2014
27 Sep
'14
2:46 p.m.
Hello,
I have dovecot 2.2.13 instance and I found that (at least for polish language) folder names in GETMETADATA command response are encoded in UTF8. Shouldn't it be converted to UTF7?
Both SETMETADATA and GETMETADATA arguments have to be encoded in UTF7, the problem(?) is related only to server response
example:
- OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. . login user pass . OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE METADATA QUOTA ACL RIGHTS=texk] Logged in . GETMETADATA "INBOX/&AVs-olaris" (/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
- METADATA {14} INBOX/śolaris (/private/vendor/kolab/folder-type NIL /shared/vendor/kolab/folder-type {4} mail) . OK Getmetadata completed.
"INBOX/śolaris" - UTF8
Best Regards,
3 Oct
3 Oct
5:12 p.m.
On 27 Sep 2014, at 14:46, Bartłomiej Nogaś bart.nogas@gmail.com wrote:
I have dovecot 2.2.13 instance and I found that (at least for polish language) folder names in GETMETADATA command response are encoded in UTF8. Shouldn't it be converted to UTF7?
Yes, fixed now: http://hg.dovecot.org/dovecot-2.2/rev/5446d1877c7e
3705
Age (days ago)
3711
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bartłomiej Nogaś
-
Timo Sirainen