I have a simple web page that uses CGI.pm This is what I do:
when I call any perl CGI.pm function and use czech character "ě" for value of a textfield, label of radio_group or anything else I get �› insetad of "ě"
this is extremly weird - since the whole page is utf8 (<meta name="charset" content="utf-8"/> ). Especially since this works
$textfield_value = "ěěěěě";print '<textfield value="'.$textfield_value.'" >';
therefore I am positive - it has to be CGI.pm causing the problem... I tried to put
use utf8; utf8::decode($textfield_value);
at the beginning of my scirpt and it fixed the CGI.pm problem but made all other characters in the script (those that are regulary printed) look funny..
Any ideas??? note: it happens to me here as well even as I edit this question -> what i previously wrote as ěěě is in edit window displayed as ě. The SAME thing with the Name of this thread is should be CGI.pm encoding - wrong encoding for ě and not CGI.pm encoding - wrong encoding for ěIn reply to CGI.pm encoding - wrong encoding for ě by koszta5
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |