我在我的应用程序中使用 Unicode
for(var i:int=0;i<16;i++) {
for(var j:int=0;j<16;j++) {
button = new Button();
button.x = j*35+10;
button.y = i*20+10;
button.height = 21;
button.width = 35;
button.setStyle("borderColor","red");
button.setStyle(" fontWeight","bold");
button.label= String.fromCharCode(0x2190+16*i+j);
button.addEventListener(MouseEvent.CLICK,greekalpha_clickHandler);
vgr.addElement(button);
}
}
但是当我运行这段代码时,一些符号被正确识别,而另一些则没有
突出显示的单词可以正确识别,而其他单词则不能。我在这段代码中犯了什么错误?