Subject: | National chars are encoded incorrectly with module ver. 1.01 |
Date: | Sat, 21 Feb 2009 15:40:21 +0100 |
To: | bug-Encode-IMAPUTF7 [...] rt.cpan.org |
From: | Jaromir Obr <jaromir.obr [...] gmail.com> |
configuration:
Perl 5.8.9 (ActivePerl in WindowsXP) or 5.10.0 (Ubuntu 8.10)
module Encode::IMAPUTF7, ver. 1.01
Steps to reproduce:
print encode('IMAP-UTF-7', "š") # char "š" is a national char in Czech
Expected result:
&AWE-
Actual result:
&AMUAoQ-
IMAPUTF7 ver 1.00 isn't affected
I also tested creating of such IMAP folder with Outlook Express (Windows
XP) and it produces the correct result too: &AWE-
---------
Regards
Jaromir Obr