16 lines
273 B
Plaintext
Executable File
16 lines
273 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/libqxconv.so
|
|
set ret [$db query {select xconv('%s') as xconv} $s]
|
|
lassign [lindex $ret 0] x t
|
|
|
|
hexdump $t
|
|
|