Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: UTF-8 Email Form

by Your Mother (Archbishop)
on Mar 18, 2018 at 18:28 UTC ( #1211205=note: print w/replies, xml ) Need Help??


in reply to Re: UTF-8 Email Form
in thread UTF-8 Email Form

I don't use sendmail directly like this but I'm pretty sure it will fail on the Header fields (To, Cc, Subject, etc) when they contain extra-ASCII. For that you can use Encode/Encode::MIME::Header.

use Encode; my $subject = encode("MIME-Header", $some_utf8_string);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211205]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2020-12-05 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?