projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a689ab
)
update lua test case
author
Peng Wu
<alexepico@gmail.com>
Mon, 16 Jul 2012 06:02:02 +0000
(14:02 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 16 Jul 2012 06:02:02 +0000
(14:02 +0800)
lua/test.lua
patch
|
blob
|
history
diff --git
a/lua/test.lua
b/lua/test.lua
index
b16cc6b
..
582dbb0
100644
(file)
--- 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! "))