diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2010-05-12 20:44:00 +0800 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2010-05-12 20:44:00 +0800 |
commit | 5a3d87178bf076bd7d2e59ff53d5eb49f36f3a1a (patch) | |
tree | 76c0ce571e6ecb228069c1600573871cb0ced155 /scripts | |
parent | e37e15be51cab2dfe85785b17a4707c09de402cd (diff) | |
download | ibus-libpinyin-5a3d87178bf076bd7d2e59ff53d5eb49f36f3a1a.tar.gz ibus-libpinyin-5a3d87178bf076bd7d2e59ff53d5eb49f36f3a1a.tar.xz ibus-libpinyin-5a3d87178bf076bd7d2e59ff53d5eb49f36f3a1a.zip |
Use wchar_t for bopomofo
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genpytable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genpytable.py b/scripts/genpytable.py index 633e358..240401a 100644 --- a/scripts/genpytable.py +++ b/scripts/genpytable.py @@ -311,7 +311,7 @@ def gen_table(): # args = (i, ) + tuple(['"%s"' % s for s in p[:3]]) + tuple(["PINYIN_ID_%s" % s.upper() if s else "PINYIN_ID_ZERO" for s in p[3:9]]) + p[9:-1] + (str(p[-1]), ) print ''' { /* %d */ text : "%s", - bopomofo : "%s", + bopomofo : L"%s", sheng : "%s", yun : "%s", sheng_id : %s, |