ActionMailer Attachment : Character encoding for :filename

Hi,

I want to send a file "joke.txt" with ActionMailer but I want to
rename the file in the mail "député.txt"
I set the parameters :filename of the attachment to "député.txt"

But when I receive the mail I can see : "d��put��.txt"

In the log :
filename*=iso-2022-jp'ja'd%c3%a9put%c3%a9.txt

How can I fix it ?

Thanks for your answer :slight_smile:

adrien

Should I notify this bug somewhere ?
(I hope so!)

adrien

up