| 1 | = EmailDeveloping = |
| 2 | |
| 3 | this problem is not of gnowsis, it is of the Thunderbird Mozilla Plugin. |
| 4 | |
| 5 | The IMAP Uris seem to be UTF7-IMAP encoded, a weird encoding scheme for that purpose. Only I cannot get the corresponding decoder to run, it is the XPCOM class @mozilla.org/intl/unicode/decoder;1?charset=x-imap4-modified-utf7 |
| 6 | |
| 7 | In Java, the specified encoding seems not to be available. In PHP it is, called imap_utf7_encode(). also, it is not deterministic how this thing works, the same string can have two different UTF7-IMAP representations. |
| 8 | |
| 9 | Test: Böser & |
| 10 | enc1: B&lA-ser &- |
| 11 | enc2: B&APY-ser &- |