Download MetaTrader 5
To add comments, please log in or register
Track Market top sellers!
kieran.w
76
kieran.w 2014.04.19 20:25 
The new MQL4 introduced a function named ShortToString which is supposed to convert a Unicode character code to the equivalent character, but when I use it all I see for the most part is a question mark instead of the character.

If I use a label set to use the Arial font, I should get the character for "1/3" (the HEX value is 2153):

Label.Text(ShortToString(0x2153));

All I get is: ?

Interestingly, if I use an ASCII code it works fine.

Does anyone know if this is by design, or is Unicode not yet fully supported by MT4 ?
/
To add comments, please log in or register