I am looking for the Unicode or some method or byte language that can put out superscripts for 1, 2, 3. For whatever reason Unicode has superscripts for 0, 4, 5, 6, 7, 8, 9, but not 1, 2, 3.
Can you do superscripts like HTML in NSString
?
I am looking for the Unicode or some method or byte language that can put out superscripts for 1, 2, 3. For whatever reason Unicode has superscripts for 0, 4, 5, 6, 7, 8, 9, but not 1, 2, 3.
Can you do superscripts like HTML in NSString
?
From the character palette:
This, to make them in to
NSStrings
, you'd do:The characters exist
I know this question has already been answered but if anyone wants to reuse my code for converting from a standard string of numbers to superscript, here it is.
Given an input string of numbers it just returns the equivalent superscript string.
Edit (thanks to jrturton):