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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -