When I will receive an email with attachment where filename contains national characters (like ěščřžýáíéúů), the attachment cannot be opened, can be saved to disk only.
Best I can tell, this is related to Glib charset conversion bug at <https://bugzilla.gnome.org/show_bug.cgi?id=734886>. The error comes from procmime_get_part(), where g_fopen() returns EINVAL, after it unsuccesfully tries to convert the filename from UTF-8 to system's local codepage (NTFS stores file names as UTF-16).
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2015-08-03 23:29:02.765320760 +0200 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=22236057acbcaa79df6667a20cdf0ad86942203a Merge: 2efc423 4256dfb Author: Colin Leroy <colin@colino.net> Date: Mon Aug 3 23:29:02 2015 +0200 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=4256dfbdc81c5a900cf577bae38847bb803a45c7 Author: Andrej Kacian <ticho@claws-mail.org> Date: Mon Aug 3 23:24:05 2015 +0200 Remove broken reimplementation of a few Glib file functions. This fixes bug #3454, and probably a few more.
(In reply to comment #1) > Best I can tell, this is related to Glib charset conversion bug at > <https://bugzilla.gnome.org/show_bug.cgi?id=734886>. I was wrong, the issue was that we had an old, broken copy of g_fopen() in our code (common/utils.c), which was used instead of Glib's proper g_fopen() function. With that copy removed, saving attachments like "ěščřžýáíéúů.txt" works correctly on Windows.
With version 3.13. problem remains. In your last comment You said files will special characters can be saved. That is true. But they cannot be opened.
I wanted to change platform to win10, but there is no such option. :-)
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2015-10-28 14:43:02.754394415 +0100 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6760d6392bae6e54dd936ce6b874318a307d93e8 Merge: 017df26 84aca59 Author: Colin Leroy <colin@colino.net> Date: Wed Oct 28 14:43:02 2015 +0100 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=84aca59b3633ca717d42805268ecae3310a7541d Author: Andrej Kacian <andrej@kacian.sk> Date: Wed Oct 28 14:40:28 2015 +0100 Convert filename to UTF-16 before passing it to ShellExecute(). Closes bug #3454 (Windows).