Question marks nstead of characters

Former Member
Former Member
I have a strange problem. Characters like áíűőüöúóé does not appear correctly on the screen of the watch...not always at least...

So,

when reading string from resource:
<string id="test">áéí&#337;</string>
var test = Ui.loadResource( Rez.Strings.test);
dc.drawText(dc.getWidth()/2, dc.getHeight()/2, Graphics.FONT_MEDIUM, test, Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);


áéí&#337; appears on the screen of the watch correctly.

BUT

when i do like this:
var test = "áéí&#337;";
dc.drawText(dc.getWidth()/2, dc.getHeight()/2, Graphics.FONT_MEDIUM, test, Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);


???? appears on the screen.

It happens in simulator, and also on a real device (Fenix3)

Would anybody be so kind to help me?