Fix #1850: Cannot upload attachments if the filename contains only non-Latin characters
Merge pull request #2179 from mahagr/utf8-attachments

Fix #1850: Cannot upload attachments if the filename contains only non-L...