http://www.perlmonks.org?node_id=1051059


in reply to perl writing urf8/utf16 output to cmd screen and html page

What character encoding does your cmd prompt accept? And what charset did you send in the Content-Type header for the HTML page?

  • Comment on Re: perl writing urf8/utf16 output to cmd screen and html page

Replies are listed 'Best First'.
Re^2: perl writing urf8/utf16 output to cmd screen and html page
by msinfo (Sexton) on Aug 27, 2013 at 06:16 UTC
    for html i used this
    print $cgi->start_html({-head=>meta({-http_equiv => 'Content-Type', -content => 'text/html', -charset=>'utf-8'}), -title=>'Test'});
    currently going through links provided in first reply