mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-09-04 10:12:03 +02:00
*** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@12 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
@@ -8,7 +8,7 @@ cd = iconv.new("utf-8", "iso-8859-1")
|
|||||||
assert(cd, "Invalid conversion")
|
assert(cd, "Invalid conversion")
|
||||||
|
|
||||||
--ret, err = cd:iconv("Isso <20> um teste com acentua<75><61>o")
|
--ret, err = cd:iconv("Isso <20> um teste com acentua<75><61>o")
|
||||||
ret, err = cd:iconv("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>a")
|
ret, err = cd:iconv("<EFBFBD>")
|
||||||
|
|
||||||
if err == iconv.ERROR_INCOMPLETE then
|
if err == iconv.ERROR_INCOMPLETE then
|
||||||
print("Error: Incomplete input.")
|
print("Error: Incomplete input.")
|
||||||
|
Reference in New Issue
Block a user