Question marks instead of characters
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 3
- Joined: Mon Jul 22, 2019 12:43 pm
Question marks instead of characters
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 10055
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Question marks instead of characters
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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Question marks instead of characters
Does it work in the stack, but not in the standalone?
Craig
Craig
-
- Posts: 3
- Joined: Mon Jul 22, 2019 12:43 pm
-
- Posts: 3
- Joined: Mon Jul 22, 2019 12:43 pm
Re: Question marks instead of characters
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.FourthWorld wrote: ↑Mon Jul 22, 2019 6:54 pmIt 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
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.