summaryrefslogtreecommitdiffstats
path: root/tests/utfext.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utfext.test')
-rw-r--r--tests/utfext.test19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/utfext.test b/tests/utfext.test
index b980800..bef1fa7 100644
--- a/tests/utfext.test
+++ b/tests/utfext.test
@@ -24,25 +24,6 @@ lappend utfExtMap {*}{
ascii 414243 414243
}
-if {[info commands printable] eq ""} {
- proc printable {s} {
- set print ""
- foreach c [split $s ""] {
- set i [scan $c %c]
- if {[string is print $c] && ($i <= 127)} {
- append print $c
- } elseif {$i <= 0xff} {
- append print \\x[format %02X $i]
- } elseif {$i <= 0xffff} {
- append print \\u[format %04X $i]
- } else {
- append print \\U[format %08X $i]
- }
- }
- return $print
- }
-}
-
# Simple test with basic flags
proc testbasic {direction enc hexin hexout {flags {start end}}} {
if {$direction eq "toutf"} {