Add xconv test

This commit is contained in:
HummyPkg 2017-05-05 23:39:15 +01:00
parent c79b890985
commit 0fa233afce

18
webif/lib/test/xconv Executable file
View File

@ -0,0 +1,18 @@
#!/mod/bin/jimsh
source /mod/webif/lib/setup
package require xconv
require hexdump
puts [xconv testtesttest]
set s "home made p\303at\302e"
hexdump $s
set t [xconv $s]
hexdump $t
puts "Length: [string length $t]"
puts "Bytelength: [string bytelength $t]"