text and version 7

Discuss any general programming issues here

text and version 7

Postby xabierpayet » Wed Mar 22, 2017 4: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.
xabierpayet
 
Posts: 146
Joined: Fri Feb 24, 2012 10:34 am

Re: text and version 7

Postby airsoftsoftwair » Thu Mar 23, 2017 12:08 am

Hmm, works here. Can you upload your original text file somewhere so that I can check it?
User avatar
airsoftsoftwair
 
Posts: 2025
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: text and version 7

Postby xabierpayet » Thu Mar 23, 2017 2:21 am

i solve this, the hollywood ide, save the database.txt in utf8 format, i change it to ascii again
xabierpayet
 
Posts: 146
Joined: Fri Feb 24, 2012 10:34 am


Return to General programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron