diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 7d868d5..0ebe361 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -201,6 +201,7 @@ class MailHandler < ActionMailer::Base def add_attachments(obj) if email.has_attachments? email.attachments.each do |attachment| + attachment.original_filename = attachment.original_filename.toutf8 Attachment.create(:container => obj, :file => attachment, :author => user,