Here is what i use:
this
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
AND here is that part of script which handle
keys and value from the form
foreach $pair(@pairs){
($key,$value)= split (/=/,$pair);
$key=~tr /+/ /;
$key=~s/%([a-fA-F0-9][a-fA-F0-9])/pack("C"
,hex($1)/eg;
$value=~tr /+/ /;
$value=~s /%([a-fA-F0-9][a-fA-F0-9])/pack("C"
,hex($1)/eg;
$value=~s/<!-(.|\n)*->//g;
if ($formdata{$key}){
$formdata{$key} .=", $value";
and the result i get is
user sumit (à á â )
I get 224 225 226
I think it is decimal;
thanks very much in advance [sig][/sig]
this
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
AND here is that part of script which handle
keys and value from the form
foreach $pair(@pairs){
($key,$value)= split (/=/,$pair);
$key=~tr /+/ /;
$key=~s/%([a-fA-F0-9][a-fA-F0-9])/pack("C"
$value=~tr /+/ /;
$value=~s /%([a-fA-F0-9][a-fA-F0-9])/pack("C"
$value=~s/<!-(.|\n)*->//g;
if ($formdata{$key}){
$formdata{$key} .=", $value";
and the result i get is
user sumit (à á â )
I get 224 225 226
I think it is decimal;
thanks very much in advance [sig][/sig]