summaryrefslogtreecommitdiff
path: root/tests/test-iconv.lua
blob: 6a14ac126773f39ea565972551e665f6339a309c (plain)
1
2
3
4
5
luxio = require 'luxio'

cd = luxio.iconv_open("UTF-8", "ISO-8859-1")
assert(luxio.iconv(cd, "\163") == "£")
luxio.iconv_close(cd)