Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: ASCII to UTF-8

by rattusillegitimus (Friar)
on Jul 27, 2002 at 05:02 UTC ( #185719=note: print w/replies, xml ) Need Help??


in reply to Re: ASCII to UTF-8
in thread ASCII to UTF-8

If I'm correct in guessing that you're asking where to put the header information to set the character set, change your line:

print $q->header();

to the following (untested):

print $q->header(-type => 'text/html', -charset => 'UTF-8' );

-rattus

__________
He seemed like such a nice guy to his neighbors / Kept to himself and never bothered them with favors
- Jefferson Airplane, "Assassin"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2021-03-02 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (42 votes). Check out past polls.

    Notices?