text and version 7

Discuss any general programming issues here
Post Reply
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

text and version 7

Post by xabierpayet »

i have a problem with the v7.0, i have a txt file with this txt:

TRUE-FALSE-POINTS-TIME-CORRECT-WRONG-MUSIC-SFX-LANGUAGE
i open it here:
@FILE 21,"databaseENG.hws"

SETFONT("ARIAL",30)
SETFONTSTYLE(#ANTIALIAS)
print(readline(21))
WaitLeftMouse()

and i have this output:

TRUE-FALSE-POINTS-TIME-CORRECT-WRONG-MUSIC-SFX-LANGUAGE

this have as a tabulator in the first character, i don´t know why, and my original file is correct too, i do test with:
SetDefaultEncoding(...) too, but now i have different outputs, and the result is not good for me.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: text and version 7

Post by airsoftsoftwair »

Hmm, works here. Can you upload your original text file somewhere so that I can check it?
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Re: text and version 7

Post by xabierpayet »

i solve this, the hollywood ide, save the database.txt in utf8 format, i change it to ascii again
Post Reply