special characters rails 3 ruby 1.8.7 -


i using new rails 3 mail emails in app. when send email app email account subject:

(パンを食べない。) "i not eat bread"‏ 

my app have mail subject this:

<subject: =?iso-2022-jp?b?kbskqivrjxmkcj8pjfkksiqkismbkeip?= =?iso-2022-jp?b?icjjihdpbgwgbg==?= =?iso-2022-jp?b?b3qgzwf0igjyzq==?= =?iso-2022-jp?b?ywqi?=> 

but mail.subject looks

"(\e$b%q%s$r?)$y$j$$!#\e(b) \"i not eat bread\"" 

anyone know is, , how display correctly again in browser, , save correctly in database?


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -