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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -