Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
1 registered members (AndrewAMD), 599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: string delimiter [Re: jcl] #259969
04/08/09 12:09
04/08/09 12:09
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
oh ok. the target font? im using TTF and arial... which supports those acents.

so you are saying , read each char from the file char by char, and depending on the values, i replace them with others? is that?

Re: string delimiter [Re: MMike] #259977
04/08/09 12:26
04/08/09 12:26
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
when i make the file_asc_read my file..

i get a numerical code, that its not even ascii.. because im returning the code 239 for example, that its not ascii, but ascii extended, but when i went to the table the chars did not matched the string output... so.. the table is HTML code ascii.. and that matched the correct error(STRING*) output.

courtesy of www.lookuptables.com:
this is the table. table

Last edited by MMike; 04/08/09 12:27.
Re: string delimiter [Re: MMike] #260004
04/08/09 14:20
04/08/09 14:20
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
For UTF-8 you need to replace 2-, 3-, and 4-byte strings, and convert them to extended ASCII, so that they match the font you're using, such as Arial.

Re: string delimiter [Re: MMike] #260019
04/08/09 15:01
04/08/09 15:01
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
(Problem solved by external converter)

Last edited by MMike; 04/08/09 17:58.
Re: string delimiter [Re: jcl] #260020
04/08/09 15:03
04/08/09 15:03
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Originally Posted By: jcl
For UTF-8 you need to replace 2-, 3-, and 4-byte strings,


how do i do that?? replace 2- byte?

this is image of the scenario:
PICTURE SKYDRIVE


if there was a gs function like this..

# byte[] passwordBytes = (byte[]) someJNDImethod();
# String password = new String(passwordBytes, "UTF-8");


Last edited by MMike; 04/08/09 15:59.
Re: string delimiter [Re: MMike] #260031
04/08/09 16:10
04/08/09 16:10
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
i got a solution

I exec a dos converter, in silent mode, to avoid displaying consoles. and now it works perfeclty.

smile

Last edited by MMike; 04/08/09 17:56.
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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