ios - Inconsistent Unicode Emoji Glyphs/Symbols -


i've been trying make use of unicode symbols astrology in products both apple , ios. i'm getting inconsistent results, shown here:

image of astrological symbols in table

most of these coming out like, reason taurus symbol appearing 1 way on first line, following moon, , different way, emoji-like purple button, when follows mars. these results consistent different symbols , across apple hardware; here's screen capture phone showing same problem other signs - scorpio comes out right, libra , cancer buttons.

more symbols in clip iphone

the strings extremely straightforward; "moon taurus" in first image \u263d moon, \u2649 taurus, assembled [nsstring stringwithformat:@"%@%@", @"\u263d", @"\u2649"]. "mars taurus" image same, \u2642 mars. string formatting identical in different cells of osx table, , in ios attributedstring.

any idea makes these symbols appear 1 way sometimes, , way other times?

unicode uses variation sequences select between different renderings code points—listed in standardizedvariants.txt file. in case, astrological symbols have both "text style" , "emoji style" variants selected between u+feoe (text style) or u+fe0f (emoji style) following code point:

u+2650 u+fe0e: ♐︎

u+2650 u+fe0f: ♐️

note correct interpretation of variation selector depends on support both application/framework , fonts being used. on chrome (42) there doesn't appear difference between examples above, on safari (8) distinct.


Comments

Popular posts from this blog

rewrite asp to php based on asp query -

android - questions about switching from C2DM to GCM -

visual studio 2010 - Error on RDLC Expression -