summaryrefslogtreecommitdiff
path: root/tests/test-iconv.lua
blob: ea622f280bb68548f76fa0b63e72c8201051eb94 (plain)
1
2
3
4
5
6
-- See LICENSE file for copyright and license details.
luxio = require 'luxio'

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