From: Peng Wu Date: Mon, 16 Jul 2012 06:02:02 +0000 (+0800) Subject: update lua test case X-Git-Tag: 1.4.2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47e41081fcc385894c8aa2694fdad41db65db42e;p=platform%2Fupstream%2Fibus-libpinyin.git update lua test case --- 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! "))