How to make niftygui to support chinese?

Hello,
if you have a .fnt file for Chinese, then you could test your input system with this:

jme3test.gui.TestBitmapFont.java

It’s also in the jME SDK’s JME_Tests project and it can recognizes some local (language) key input.
For example, on my keyboard it successfully recognizes Ä Ö Ü and ä ö ü.
It also recognizes modifiers, so if I press key ` and key a, it correctly shows à.

Just type something, press ENTER / RETURN and view the output.

But as I said: You will need a Chinese .fnt (BitmapFont) first.
It could be generated with this free tool: BMFont - AngelCode.com
It’s a Windows programm and the forum is here: http://www.gamedev.net/forum/49-angelcode/
I guess you have a Chinese font (true type font) on your computer, but if not, then you can use the free “Hanazono” font (find via web search) - it’s primarily made for Japanese but includes some extended Chinese Characters too (only Korean is not included).

Hope it helps,
and wish a happy year of the monkey!
:chimpanzee_smile:

EDIT: Note, that the BitmapText of jME currently does not support unicode codepoints consisting of two char variables (some unicode characters are in Java represented by two Java char - this can’t be handled by BitmapText and I’m working on that problem).