Convert header of email to another encoding in ActionMailer in Ruby <p>I have a website written on ruby 1.8.5 and rails 1.2.6. </p> <p>There is a feedback page.</p> <p>So.</p> <p>i've got a model class:</p> <pre><code>class Feedback::Notify &lt; ActionMailer::Base def answer_for_managers(question) recipients test@test.com from "feedback@test.com" subject "Обратная связь: ответ на вопрос" body "question" =&gt; question content_type "text/html" end end </code></pre> <p>Then i have a controller:</p> <pre><code>class Feedback::QuestionController &lt; Office::BaseController def update Feedback::Notify.deliver_answer_for_managers(@question) end end </code></pre> <p>The problem is when a message is sent its subject looks like: =?utf-8?Q?=d0=9e=d0=b1=d1=80=d0=b0=d1=82=d0=bd=d0=b0=d1=8f_=d1=81=d0=b2=d1=8f=d0=b7=d1=8c=3a_=d0=a1=d0=be=d1=82=d1=80=d1=83=d0=b4=d0=bd=d0=b8=d0=ba_=d0=be=d1=82=d0=b2=d0=b5=d1=82=d0=b8=d0=bb_=d0=bd=d0=b0_=d0=b2=d0=be=d0=bf=d1=80=d0=be=d1=81_=d0=ba=d0=bb=d0=b8=d0=b5=d0=bd=d1=82=d0=b0_=23=35=36_=d0=be=d1=82_=32=36=2e=30=38=2e=32=30=31=31_=31=31=3a=33=33?=</p> <p>so it's url-encoded.</p> <p>Is there any way to prevent converting subject text to url-encoding? All files are in UTF8 encoding</p>