ios - Losing my Emoji, probably in UTF8String -



ios - Losing my Emoji, probably in UTF8String -

i'm doing type of thing:

const char *cstring = [textin utf8string];

and later this:

cgcontextshowtext(ctx, cstring, strlen(cstring));

i'm losing emoji in process, though font selected cgcontextselectfont supports them. there easy workaround?

ios objective-c core-graphics

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -