Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You need to encode the subject header in whatever text encoding you are using. See <a href="http://metacpan.org/pod/Encode::MIME::Header" rel="nofollow noreferrer">http://metacpan.org/pod/Encode::MIME::Header</a> and <a href="http://www.faqs.org/rfcs/rfc2047.html" rel="nofollow noreferrer">http://www.faqs.org/rfcs/rfc2047.html</a> which talk about doing so.</p> <p>Essentially, your subject line should look like this:</p> <p>Subject: Solicitud de =?UTF-8?Q?cotizaci=C3=B3n?=</p> <p>Then any MUA that knows about MIME should render the subject correctly, using the correct character set.</p> <p><strong>EDIT</strong>: It is worth mentioning that RFC2822 specifies ASCII as the character encoding for mail message headers, which is why the quoting is necessary. Also it specifies that lines should not be longer than 72 characters, so folding may be necessary and you should take that into consideration when generating messages destined for processing in RFC(2)822 mail systems. Finally, use of the B encoding does not make a great deal of sense for a string like you have supplied, since the Q encoding takes up less space (and for that matter, you only want to quote a run of words that actually use characters outside of the ASCII character set).</p> <p>It is <em>technically</em> possible to just brute-force with B encoding for the whole string, but it's generally speaking bad form due to being wasteful, and it is much more likely that you will exceed the hard limit of 9,999 characters in a single line specified by the RFC(2)822 standards that way if ever you have a long subject line.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload