Adrien Coquio
2010-Mar-28 17:24 UTC
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 :) adrien -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Adrien Coquio
2010-Mar-30 21:21 UTC
Re: ActionMailer Attachment : Character encoding for :filename
Should I notify this bug somewhere ? (I hope so!) adrien On Mar 28, 2:24 pm, Adrien Coquio <adrien.coq...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 :) > > adrien-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Adrien Coquio
2010-Apr-29 15:03 UTC
Re: ActionMailer Attachment : Character encoding for :filename
up On Mar 30, 6:21 pm, Adrien Coquio <adrien.coq...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Should I notify this bug somewhere ? > (I hope so!) > > adrien > > On Mar 28, 2:24 pm, Adrien Coquio <adrien.coq...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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 :) > > > adrien > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.