Try MIME::Words.
#!/usr/bin/perl -w use MIME::Words qw/encode_mimewords/; print encode_mimewords("Hola, Seņor!");
The result of the above is
Hola, =?ISO-8859-1?Q?Se=C3=B1or?=!
In reply to Re: Encoding Mail Subject
by oko1
in thread Encoding Mail Subject
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |