X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fescape.tcl;fp=tests%2Fescape.tcl;h=b4bb6d44ce24dd4938a6256be7ee8fd0ce9830d8;hb=b0e6fb6e4379fb87fa2854b84a56c5ad49c644da;hp=0000000000000000000000000000000000000000;hpb=c9a5bcd9d76f699909b24e71a2a216d36062ab0b;p=sven%2Ftclcurl.git diff --git a/tests/escape.tcl b/tests/escape.tcl new file mode 100755 index 0000000..b4bb6d4 --- /dev/null +++ b/tests/escape.tcl @@ -0,0 +1,6 @@ +package require TclCurl + + +set escaped [curl::escape {What about this?}] +puts "String to escape: What about this? - $escaped" +puts "And the reverse: [curl::unescape $escaped]"