<<< Date Index >>>     <<< Thread Index >>>

Re: Character set validation (with patch)



* Rocco Rutte on Tuesday, November 13, 2007 at 13:48:25 +0100
> there're some bugs open where trouble could have been avoided if mutt  
> did validate character sets (e.g. #1668 and maybe //TRANSLIT in #2956).  
> I attached a patch with configure magic that checks for usability of  
> iconvlist() to see whether a character set is supported being used in  
> mutt_check_charset().
> 
> This currently isn't used anywhere since I'd like to ask for opinions on  
> a) whether mutt should do some sort of validation at all (I vote for it)  

+1. Anything that makes charset stuff more transparent to user is
good.

> and b) in what places/in what situations.
> 
> To me, the easiest way would be to simply issue warnings/errors upon  
> setting $charset, $send_charset, $config_charset and friends.

+1.

c
-- 
Python Mutt utilities <http://www.blacktrash.org/hg/muttils/>