Page 1 of 1

Possible Bug in android

Posted: Fri Apr 22, 2016 2:56 am
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

Re: Possible Bug in android

Posted: Fri Apr 22, 2016 10:12 pm
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.

Re: Possible Bug in android

Posted: Sat Apr 23, 2016 3:15 am
by xabierpayet
ok, no problem