Then you’re not saving your Lua files out as UTF-8
Thanks Rob, I didnt know how to do that, with somebody helps I used Wordpad to open and save again and then I used CodeMAX to open it. It works fine then (although it adds two characters in the beginning of the files that I have to delete.
It seems that if we use native text boxes, emojis show up correctly. Setting them to non-editable gives a pretty good experience.
However, now comes the old challenge of how to clip these native objects during scrolling when other UI elements are on the screen and should be in front of the native element. Is there some trick to grab a screen shot of the resulting “image” or to shrink the text box height/width as it approaches the borders of the next UI element, but showing the appropriate sub-part of that native element (e.g., just the bottom)?
Are there any suggested workarounds for this limitation of the openGL/native split?
I have problem showing arabic letter in the simulater and app even though in CodeMAX (my editor for main.lua) it shows fine.
Then you’re not saving your Lua files out as UTF-8
Thanks Rob, I didnt know how to do that, with somebody helps I used Wordpad to open and save again and then I used CodeMAX to open it. It works fine then (although it adds two characters in the beginning of the files that I have to delete.
It seems that if we use native text boxes, emojis show up correctly. Setting them to non-editable gives a pretty good experience.
However, now comes the old challenge of how to clip these native objects during scrolling when other UI elements are on the screen and should be in front of the native element. Is there some trick to grab a screen shot of the resulting “image” or to shrink the text box height/width as it approaches the borders of the next UI element, but showing the appropriate sub-part of that native element (e.g., just the bottom)?
Are there any suggested workarounds for this limitation of the openGL/native split?
did anyone find a work around for this?
Hi @elpita01. This thread is nearly a year old. It’s really hard for us to go back in time that far. We need more information.
What are you trying to do?
What have you tried?
What results are you getting?
Are you getting errors?
What version of Corona SDK are you using?
Windows or OS-X?
Building for Android, iOS or both?
Give us something to help you with.
Rob
Hi Rob,
I’m just pretty much trying to display emojis but when i use the display.newText function the emojis are showing off as black emojis( look at the attached file). Based on what i read here it seems it is because the way the text is handled but I just want to know if anyone found a work around to display emojis in full color. I’m assuming its not possible in Corona sdk. Is this something that would be doable with corona enterprise? Maybe calling a native function to display text or something with enterprise?
Display.newText() will not display emojis in color. Enterprise will likely not help either since you don’t have access to the openGL canvas that Corona is using. You could create a native object like a label, but it’s going to sit above the rest of the UI like all other native.* things do.
Rob
did anyone find a work around for this?
Hi @elpita01. This thread is nearly a year old. It’s really hard for us to go back in time that far. We need more information.
What are you trying to do?
What have you tried?
What results are you getting?
Are you getting errors?
What version of Corona SDK are you using?
Windows or OS-X?
Building for Android, iOS or both?
Give us something to help you with.
Rob
Hi Rob,
I’m just pretty much trying to display emojis but when i use the display.newText function the emojis are showing off as black emojis( look at the attached file). Based on what i read here it seems it is because the way the text is handled but I just want to know if anyone found a work around to display emojis in full color. I’m assuming its not possible in Corona sdk. Is this something that would be doable with corona enterprise? Maybe calling a native function to display text or something with enterprise?
Display.newText() will not display emojis in color. Enterprise will likely not help either since you don’t have access to the openGL canvas that Corona is using. You could create a native object like a label, but it’s going to sit above the rest of the UI like all other native.* things do.
Rob