Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 如何在mailer中获得国际角色?_Ruby On Rails_Encoding_Mailer - Fatal编程技术网

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