How can I write create an NSString with subscript numerals? I’m trying to create a string that says X10, with the ’10’ as a subscript.
I tried to use the unicode numerals @”\u0081″ and @”\u0080″,but xcode gives an error “invalid universal character”. Superscript numerals (@”\u00B3″, for example) work fine, but I cant get subscripts to work.
How can I write create an NSString with subscript numerals? I’m trying to create
Share
You’re looking for U+2081 and U+2080. (U+0081 and U+0080 are not valid codepoints.)