strTemp=" \\xF"+strTemp; // \xF300
" \xF"
That string is two spaces and a Control+F. You want a backslash, lowercase x and uppercase F. Quote the backslash like lippmaje stated.
Language Basics / Data Types / Integer Types / Character Constants - Reference on algorithmic/automated trading language for MetaTrader 5
Thanks to you, this problem is over. However, its result was not what I expected in receiver. So I created a new post:
https://www.mql5.com/en/forum/344090
Damn it !! Don't do that.
You already have a topic, use it !
Thanks to you, this problem is over. However, its result was not what I expected in receiver. So I created a new post:
I have deleted your new topic.
Please continue in this topic.
Ok Keith and Alain! I though it is against rules to continue that problem under this topic subject. Therefore I made a new one!
Maybe this helps:
ushort ch=0x00A9; // Unicode for © string str; StringSetCharacter(str,0,ch); Print(str); // ©
So you have to find the unicode for your emoji and insert it into a string like above.
Maybe this helps:
So you have to find the unicode for your emoji and insert it into a string like above.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
In the code below:
I get this result:
Why I can not add "\xF" and how can I do that?