Ruby on rails 如何在mailer中获得国际角色?
我希望我的邮件操作将发送以下内容:Ruby on rails 如何在mailer中获得国际角色?,ruby-on-rails,encoding,mailer,Ruby On Rails,Encoding,Mailer,我希望我的邮件操作将发送以下内容: == == Wiadomość testowa programu EZA (tekst) == 相反,我得到了这个(当在我的ApplicationMailer中使用default'content-transfer-encoding'=>base64'时): 使用时'7bit': == == WiadomoM-EM^[M-DM^G testowa programu EZA (tekst) == 使用'8bit'/'quoted-printable': =
==
== Wiadomość testowa programu EZA (tekst)
==
相反,我得到了这个(当在我的ApplicationMailer中使用default'content-transfer-encoding'=>base64'
时):
使用时'7bit'
:
==
== WiadomoM-EM^[M-DM^G testowa programu EZA (tekst)
==
使用'8bit'
/'quoted-printable'
:
=3D=3D
=3D=3D Wiadomo=C5=9B=C4=87 testowa programu EZA (tekst)
=3D=3D
如何配置此gizmo以发送国际字符?您尝试过UTF8吗?我得到了:Mime版本:1.0内容类型:text/plain;charset=UTF-8内容传输编码:base64===WiadomoM EM^[M-DM^G testowa program u EZA(tekst)==也许我还必须设置其他选项,不仅是默认的“Content-Transfer-Encoding”,你试过UTF8吗?我得到了:Mime版本:1.0内容类型:text/plain;charset=UTF-8内容传输编码:base64==wiadomm EM^[M-DM^G testowa programu EZA(tekst)=也许我还必须设置其他选项,而不仅仅是默认的“内容传输编码”
=3D=3D
=3D=3D Wiadomo=C5=9B=C4=87 testowa programu EZA (tekst)
=3D=3D