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

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

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