Knowledge Base Nr: 00077 sonderzeichen.txt - http://www.swe-kaiser.de
Downloads:
HTTP: (deutsche) sonderzeichen
Hex:
----
SPACE 20
ö F6
Ä C4
Ö D6
Ü DC
ß DF
ä E4
ü FC
perl:
-----
#convert from http
$str =~ s/\%20/ /g;
$str =~ s/\%E4/ä/g;
$str =~ s/\%FC/ü/g;
$str =~ s/\%F6/ö/g;
$str =~ s/\%C4/Ä/g;
$str =~ s/\%DC/Ü/g;
$str =~ s/\%D6/Ö/g;
$str =~ s/\%DF/ß/g;
#convert to http
$out =~ s/ /\%20/g;
$out =~ s/ä/\%E4/g;
$out =~ s/ü/\%FC/g;
$out =~ s/ö/\%F6/g;
$out =~ s/Ä/\%C4/g;
$out =~ s/Ü/\%DC/g;
$out =~ s/Ö/\%D6/g;
$out =~ s/ß/\%DF/g;