Brew程序模拟器上运行出现中文乱码

1. 代码文件中用unicode写中文,如AECHAR szText[] = {0x0034,0x0039,'/0'};

2. 更改sdk/devices中文件**.dpk,

FONT_NORMAL 8 Arial

 

FONT_LARGE 10 Arial

 

FONT_OEM_NORMAL 0 basic12.bbf

 

FONT_OEM_BOLD 0 basic12b.bbf

 

FONT_OEM_LARGE 0 basic15.bbf

 

FONT_ACTIVE 0

把FONT_ACTIVE 0改为FONT_ACTIVE 1(除0以外其他任何正数),或者把FONT_ACTIVE 0直接注释掉##FONT_ACTIVE 0

posted @ 2010-06-11 10:37  春文秋武  阅读(134)  评论(0编辑  收藏  举报