$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack ( "C", hex ( $1 ) )/eg; &jcode'convert ( *value, 'sjis' ); jcode.plって\x81とか妙な文字を残しちゃうの?(;´Д`)