When developing and testing BlackBerry applications, the BlackBerry simulator is usually used ). By default, the simulator does not support Chinese characters. After studying a large number of Forum posts, I learned the following method to add Chinese support to the simulator.
My development environment is eclipse + BlackBerry_Java_Plug-in_for_Eclipse, installed under D:/eclipse directory.
First, find the simulator installation directory. My system is D:/Eclipse/plugins/net. rim. ejde. componentpack5.0.0 _ 5.0.0.25/components/simulator, edit the simulator configuration file that supports Chinese characters, such as 8900.xml, in
<Application> net. Rim. Blackberry. Lang. en_GB </Application>
Add two rows later
<Application> net. Rim. Blackberry. Lang. zh_cn_pinyin </Application>
<Application> net. Rim. Blackberry. Lang. zh_cn.renderingsupport </Application>
Save and exit. If the following files exist
8900-as.dmp
8900-fs.dmp
8900-nv.dmp
8900. Bug
8900. XML-(). Log
8900. xml. manifest
8900. xml. manifest. Bin
Delete it. Run 8900. BAT to start the 8900 simulator. You can set it to Chinese and Chinese in the language options of the simulator.