16 lines
269 B
Plaintext
Executable File
16 lines
269 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
source /mod/webif/lib/setup
|
|
require hexdump
|
|
|
|
set s "home made p\303at\302e"
|
|
hexdump $s
|
|
|
|
set db [sqlite3.open ":memory:"]
|
|
$db extension /mod/lib/sql/xconv.so
|
|
set ret [$db query {select xconv('%s') as xconv} $s]
|
|
lassign [lindex $ret 0] x t
|
|
|
|
hexdump $t
|
|
|