[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] General question - unsupported charset conversion

From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] General question - unsupported charset conversion
Date: Fri, 28 Feb 2014 11:41:47 -0800

This gets very icky, very quickly :-P

My feeling is that if you don't recognize the source character set, you cannot 
possibly convert it to a display format in any secure manner.  By default I 
think we should not display the content, but instead spit out a diagnostic, 
with the option to re-run the show (or whatever) with a command-line option 
that passes the content through unconverted.

I'm of mixed feelings about converting unknown characters to a proxy (e.g. 
'?').  This could be exploited to inject terminal escape sequences into xterm 
(or your VT220 – I know people who still use them!).

Yet another argument for declaring nmh a utf8-only zone, and convert everything 
to that on the way in.  We could bundle our own internal iconv and just call it 
a day.


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

reply via email to

[Prev in Thread] Current Thread [Next in Thread]