Thread encode() von CGI nutzen
(2 answers)
Opened by bianca at 2014-11-06 19:09
Einfach importieren ;)
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/usr/bin/perl use strict; use warnings; use CGI::Util qw(escape unescape); use utf8; print 'äöüßÄÖÜ€ ist: ',escape('äöüßÄÖÜ€'); print "\n"; print '%32%7E ist: ',unescape('%32%7E'); print "\n"; __END__ ergibt: äöüßÄÖÜ€ ist: %C3%A4%C3%B6%C3%BC%C3%9F%C3%84%C3%96%C3%9C%E2%82%AC %32%7E ist: 2~ Editiert von GwenDragon: Code ergänzt Last edited: 2014-11-06 19:23:49 +0100 (CET) |