Page 1 of 1
Question marks instead of characters
Posted: Mon Jul 22, 2019 12:50 pm
by itaypincas
Hi,
My LiveCode app consists of labels with texts in the Hebrew language.
I am using certain fonts that I have imported into my stack.
However, when I run the app, all Hebrew characters turn into question marks except for when I use the Ariel font.
Would love to get some help with this!
Thanks in advance.
Re: Question marks instead of characters
Posted: Mon Jul 22, 2019 6:54 pm
by FourthWorld
It sounds like the Unicode isn't being preserved in the read. Can you share the relevant code you're using to read the file and display its contents?
Re: Question marks instead of characters
Posted: Mon Jul 22, 2019 7:21 pm
by dunbarx
Does it work in the stack, but not in the standalone?
Craig
Re: Question marks instead of characters
Posted: Sun Jul 28, 2019 2:03 pm
by itaypincas
dunbarx wrote: ↑Mon Jul 22, 2019 7:21 pm
Does it work in the stack, but not in the standalone?
Craig
It does work in the stack while it doesn't in the standalone app runned on Android.
Re: Question marks instead of characters
Posted: Sun Jul 28, 2019 2:05 pm
by itaypincas
FourthWorld wrote: ↑Mon Jul 22, 2019 6:54 pm
It sounds like the Unicode isn't being preserved in the read. Can you share the relevant code you're using to read the file and display its contents?
I am not using any code to read the file. I am just choosing a random font that supports Hebrew, and via the Property Inspector I set some labels and fields to this font.
Re: Question marks instead of characters
Posted: Sun Jul 28, 2019 4:46 pm
by SparkOut
How are you importing the font files to the Android standalone? You need to add them via the copy files tab in the standalone settings. Try to "answer the fontNames" in the standalone so that you can see the fonts have been imported correctly and are available for use by the app.