Issue with "Add Text Of Doc" feature
MailScanner at ecs.soton.ac.uk
Fri May 15 10:14:28 IST 2009
On 14/05/2009 17:41, Mark Sapiro wrote:
> Mark Sapiro wrote:
>> I have been experimenting with the "Add Text Of Doc" feature. The issue
>> I have come across is the output of antiword is in my case UTF-8
>> encoded (in the absense of a specific mapping provided to antiword,
>> it's locale dependent), but the plain text attachment added by
>> MailScanner doesn't specify a charset in its Content-Type.
>> It would be nice if you could grok
That word doesn't appear in my Oxford dictionary...
>> the encoding from the system locale
>> and specify it, or barring that, provide a config option to set it.
Any idea how to get it from the Locale? Otherwise I'll just have to let
you set it.
> Please note, in case it wasn't clear, the current behavior is a real
> problem. UTF-8 encoded data are being sent in a text/plain part with
> implicit charset us-ascii resulting in data being displayed in MUAs
> like the following:
> Lani Waller Presents
> âA Steelheaderâs Wayâ
> âA Steelheaderâs Wayâ is a presentation on the principles,
> techniques and philosophy of trophy steelhead fishing based on Laniâs
> book of the same title. This personal look will include the âcommon
> elements of the endeavorâ ...
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner