Menu

#56 SmartSieve should use UTF-8 for mailbox names in scripts

1.0-RC2
open
sieve (22)
5
2010-10-22
2010-10-22
Mike
No

SmartSieve currently using mUTF-7 in folder names for international characters. According to the Sieve specification, SmartSieve must use the UTF-8 version. The fileinto command internally translates this to the mUTF-7 equivalent, so that the IMAP server sees it as expected.

Example:

#Generated by SmartSieve 1.0.0-RC2
require ["fileinto"];

if allof (header :contains "subject" "я┌п╣я│я┌") {
fileinto "&BCIENQRBBEI-";
}

should be

require ["fileinto"];

if allof (header :contains "subject" "я┌п╣я│я┌") {
fileinto "п╒п╣я│я┌";
}

Discussion


Log in to post a comment.