#!/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