Possible Bug in android

Report any Hollywood bugs here
Post Reply
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Possible Bug in android

Post by xabierpayet »

check this little code, and compile it under android, if i use accents in the directory name, in my 2 android devices ever crash and reboot

makedirectory("popí")
f$={}
d$={}
for a=1 to 20
nom=a..".txt"
openfile(1,nom,#mode_write)
next

f,d=readdirectory("popí",f$,d$)
for a=0 to f-1
print(f$[a])
next
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Possible Bug in android

Post by airsoftsoftwair »

Yes, that's a known issue. The Android backend currently can't handle non-English characters in filenames correctly because that would mean implementing some Unicode support which Hollywood currently doesn't have. Just use English characters only in filenames which is a good practice anyway, at least for portable projects.
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Re: Possible Bug in android

Post by xabierpayet »

ok, no problem
Post Reply