summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-07-16 14:02:02 +0800
committerPeng Wu <alexepico@gmail.com>2012-07-16 14:02:02 +0800
commit47e41081fcc385894c8aa2694fdad41db65db42e (patch)
treebb6e13723a1abbe1609cd772b13da9d879388571
parent3a689ab38ca4d73b54df2475592a1839102c5344 (diff)
downloadibus-libpinyin-47e41081fcc385894c8aa2694fdad41db65db42e.tar.gz
update lua test case
-rw-r--r--lua/test.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/test.lua b/lua/test.lua
index b16cc6b..582dbb0 100644
--- a/lua/test.lua
+++ b/lua/test.lua
@@ -1,5 +1,11 @@
print(ime.get_version())
+print(ime.int_to_hex_string(100, 6))
+
+str = ime.utf8_to_utf16("你好")
+str = ime.utf16_to_utf8(str)
+print(str)
+
print(ime.trim_string(" Hello World! "))
print(ime.trim_string_right(" Hello World! "))