Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji's not rendering on iPhone #2365

Closed
tikiwade opened this issue Mar 16, 2018 · 2 comments
Closed

Emoji's not rendering on iPhone #2365

tikiwade opened this issue Mar 16, 2018 · 2 comments
Assignees
Milestone

Comments

@tikiwade
Copy link

The following multibyte label will correctly render emoji's in a Label in a CN1 Label on an android device, but the same code running on an iPhone will not render emoji's correctly, it will render bozes with question marks or what appears to be Chinese characters.

    container.addComponent(new Label(new String(new byte[]{(byte)0xf0,(byte)0x9f,(byte)0x91,(byte)0x8d,(byte)0xf0,(byte)0x9f, (byte)0x8f,(byte)0xbc,(byte)0xf0,(byte)0x9f,(byte)0x98,(byte)0x9c,(byte)0xf0,(byte)0x9f,(byte)0xa4,(byte)0x94,(byte)0xf0,(byte)0x9f,(byte)0x98,(byte)0x80,(byte)0xf0,(byte)0x9f,(byte)0x98,(byte)0x9d,(byte)0xf0,(byte)0x9f,(byte)0x99,(byte)0x84})));
@tikiwade
Copy link
Author

iPhone
image-1
Android
screenshot_20180316-131910

@codenameone codenameone added this to the Version 5.0 milestone Mar 16, 2018
shannah added a commit that referenced this issue Mar 19, 2018
@shannah
Copy link
Collaborator

shannah commented Mar 19, 2018

The fix is in the "queued_during_codefreeze" branch, which will be merged after code-freeze is over.

@shannah shannah closed this as completed Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants