Hello, now I'm trying to convert my existing mail base with huge folder trees to maildir. The problem is that some of these names contain german umlauts, originally encoded in iso-latin-1.
I'm using perl (module Encoding) to do the translation. I was hoping in vain that maildirmake or Mail::Box would handle all the encoding. Or did I miss something? When I try to do it manually I obviously do something wrong: E.g. encoding the letter 'ö' (\xF6) When the client creates a folder the filename contains "&APY-". What should work is encode_base64( encode( 'UTF-7', 'ö' ) ), but that produces "&K0FQWS0-". When I simply use encode_base64( 'ö' ) I get "&9g-". When I use encode_base64( encode_utf8( 'ö' ) ) the result is "&w7Y-". Which encoding functions should I use instead? Another problem: When I try to create folders containing "." or "/" the client (thunderbird) barfs about invalid characters. I thought they should be encoded (-> maildir(5)). Who's to blame? (Not me, this time ... ;)) Regards, Norbert ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
