On Sun, Oct 02, 2016 at 08:43:38PM +0500, Konstantin Ovsov wrote: > The function mutt_sanitize_filename (char * f, short slash) (from > lib.c) which forms a "safe" file name, i.e. it replaces all non-Latin > characters with "_". Because of this attachments with the names in > UTF-8, while viewing (select the attachment and press 'Enter') or > forward (select the attachment, and press 'f') obtained name from the > "_". For example, "Шрифт.zip" -> "__________.zip". This unpleasant > behavior. This behavior mutt justified, or should create the patch, > which will mutt work with unicode characters?
The issue when forwarding should probably be fixed in mutt_copy_body(). We create the sanitized tempfile, but don't try to preserve the original filename in d_filename. I'll take a look at this. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
