Filename enconding in auto-zip feature
Pedro Arinto
pedro.arinto at gmail.com
Thu Sep 24 12:46:48 IST 2009
Hi Alex,
Unfortunately, since I work in Portugal, it is impossible to avoid using
non-English characters in filenames. Even if I could somehow tell our users
to avoid international characters, i cannot control everyone who sends us
email.
All platforms I've tested (Mac, Windows & Linux) see the same messed up
filenames in the zip file. The difference is that in Windows, with most
unzip packages (like 7-zip), there is an error when unzipping the file. In
Mac, Linux & Windows with Winzip, the unzip operation is successful, but the
filenames are garbled. This wouldn't be a big problem if the file extension
remained the same as the original file, but it also gets messed up. Since
most of our users are non-technical, this is a big problem for them.
Can the zip feature be enabled selectively with a ruleset ? This would
partially solve our problems, but as far as I can tell it is a system-wide
setting.
Thanks,
Pedro
On Mon, Sep 21, 2009 at 4:07 PM, Alex Neuman <alex at rtpty.com> wrote:
> I don't know how to fix it, but here's a couple of thoughts:
>
> 1. Can you avoid using filenames with non-english characters? It's less
> likely users will have problems that way - specially when going
> cross-platform.
> 2. Are you sure the filenames are messed up? Do all platforms (linux, mac,
> unix) find the same, apparently corrupted filenames? How about all unzip
> programs for Windows? Could be that the unzipping program is not UTF aware
> or something like that.
> 3. (and this is a question for Jules & the Gang) - what does MailScanner
> use for ZIPping? is it some Archive::Zip module call? Can it be changed
> (although it may impose a further performance penalty) to an external "zip"
> program? Something like the internal vs. external TNEF issue?
>
>
>
> On Sep 21, 2009, at 9:49 AM, Pedro Arinto wrote:
>
> the filenames get messed up in the resulting ZIP file. Windows users are
>> unable to uncompress this files
>>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090924/2db69ee8/attachment.html
More information about the MailScanner
mailing list