<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier New; font-size: 10pt; color: #000000'>Hi,<br><br>am working on a project and have encountered an issue where file names that contain Chinese (Simplified) characters are being mangled when processed by MailScanner. An example is when one requires all attachments to be zipped up. When I examine the zipped file it now contains a file called ?????.doc.&nbsp; I have taken a look at the code and believe it is something to do with how $safename and $unsafename are being generated when the MIME sections are processed. When examaning an email using postcat one sees an attachment with the following name<br><br>Content-Disposition: attachment; filename="=?gb2312?B?16u45bLEwc8uXYG9j?=<br><br>The first part of the name between the question marks is the character encoding. I wonder whether something in Message.pm should be using the Perl module Encode and then do something like encode('utf-8', $filename).<br><br>Thoughts ?<br><div><span name="x"></span>-- <br>Thanks, Phil<span name="x"></span><br></div><br></div></body></html>