Gamestudio Links
Zorro Links
Newest Posts
Zorro plugin for Hyperliquid.xyz
by mayarik. 10/24/26 09:14
ZorroGPT
by TipmyPip. 10/24/26 01:54
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, TipmyPip), 9,961 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
str_printf does not support unicode #441816
06/03/14 18:19
06/03/14 18:19
Joined: Nov 2012
Posts: 62
Istanbul
T
Talemon Offline OP
Junior Member
Talemon  Offline OP
Junior Member
T

Joined: Nov 2012
Posts: 62
Istanbul
Hello,
I'm sorry to find out that str_printf() does not support unicode strings and destroys them badly.

Re: str_printf does not support unicode [Re: Talemon] #441832
06/04/14 10:17
06/04/14 10:17
Joined: Jul 2000
Posts: 28,142
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,142
Frankfurt
str_printf is not for unicode. But you can just add the result to an unicode string with str_cat. The manual says that str_cat requires strings of the same type, but I believe it can add ASCII to Unicode - just try it.

Re: str_printf does not support unicode [Re: jcl] #441836
06/04/14 11:42
06/04/14 11:42
Joined: Nov 2012
Posts: 62
Istanbul
T
Talemon Offline OP
Junior Member
Talemon  Offline OP
Junior Member
T

Joined: Nov 2012
Posts: 62
Istanbul
Originally Posted By: jcl
str_printf is not for unicode. But you can just add the result to an unicode string with str_cat. The manual says that str_cat requires strings of the same type, but I believe it can add ASCII to Unicode - just try it.


Oh, I see. My problem is when dealing with numbers that you can't store in vars, i.e. large numbers. Currently, you can't directly print out to a unicode string. I did end up with the same solution as you suggested but this way, you need to create another string.

Thanks for the response!


Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1