Thanks for the reply, I've now read that discussion. First:
If anyone with a Far Eastern Code Page (Japanese,Chinese,Korean) is on this list, please send an example of how the attachment filenames in your local code page are send in MIME. Its for your own good :) It should look something like this: (specificaly the name and the filename fields) ------=_NextPart_000_0032_01C53787.386D0A70 Content-Type: video/x-ms-wmv; name="=?windows-1255?B?4ePp9+Qud212?=" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="=?windows-1255?B?4ePp9+Qud212?=" Second: It seems that in single byte encodings and utf8 (everything except unicode and far eastern) one would simply take the "4ePp9+Qud212" from the filename "=?windows-1255?B?4ePp9+Qud212?=" and open the base64 encoding, without regard to the code page. In my case it would be: בדיקה.wmv The extention is the only thing which is scanned so the other characters are not important. The extention is always in plain ascii 7 , there is no specific "local extentions". In case of multi byte encoding there is a need to filter out only the ascii characters and run perlscan on the. I.E. in some way discard or replace all the non ASCII characters. This seems to much more complicated. I am not sure there is a package for perl to work with Windows Code Pages. Jason, In your post on this issue (2 months ago), you said that you require feedback. Can I be of assistance? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Saturday, April 02, 2005 19:00 To: qmail-scanner-general@lists.sourceforge.net Cc: Moti Subject: Re: [Qmail-scanner-general]Windows encoded filenames and perlscanner extention filtering Hi, there has been a discussion perhaps two months ago. Try search the archives for base64 Wolfgang Hamann ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general