text and version 7

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

text and version 7

Post by xabierpayet » Wed Mar 22, 2017 3:32 am

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: 2668
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: text and version 7

Post by airsoftsoftwair » Wed Mar 22, 2017 11:08 pm

Hmm, works here. Can you upload your original text file somewhere so that I can check it?

xabierpayet
Posts: 168
Joined: Fri Feb 24, 2012 9:34 am

Re: text and version 7

Post by xabierpayet » Thu Mar 23, 2017 1:21 am

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

Post Reply