Tips & Astuces
tips and tricks for computer and software
Search this blog
mercredi 19 janvier 2011
Perl, CGI and UTF-8 encoding character set
To allow UTF-8 characters on web pages created by the Perl CGI module use for example the following code:
my $q = new CGI;
print $q->header(-charset=>'utf-8');
Aucun commentaire:
Enregistrer un commentaire
Article plus récent
Article plus ancien
Accueil
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire