Re: mailcap sanitization sanitizing too much...

2021-05-25 Thread Kevin J. McCarthy
On Tue, May 25, 2021 at 11:32:32AM +0800, Philippe Meunier wrote: So would it be possible to change the sanitization so that it restricts file names to Unicode alphanumeric characters (plus a few other safe characters) rather than just ASCII alphanumeric characters? There was a similar

mailcap sanitization sanitizing too much...

2021-05-24 Thread Philippe Meunier
Hello, When viewing an email attachment with mailcap, mutt sanitizes %s to contain only ASCII alphanumeric characters, plus a few other safe characters. Unfortunately this means that when trying to view an attachment with, say, a Chinese or a Korean name, I end up with a file name that looks like