dimanche 11 janvier 2015

How to display accented characters properly with Perl


Vote count:

0




I have a CGI script in Perl. It calls C code to generate anagrams and prints them on the web page:



http://ift.tt/1AP089X
Fol�tr�e
Fol�tre
E Fol�tr�
F�e Tol�r�
F�e L�rot


How do I make sure the resulting web page shows accented characters correctly, irrespective of the web browser encoding?


BTW, the C code shows accented characters correctly when executed on command line on a terminal:



Folâtrée
Folâtre
E Folâtré
Fée Toléré
Fée Lérot


Thanks for your help!



asked 25 secs ago







How to display accented characters properly with Perl

Aucun commentaire:

Enregistrer un commentaire