I am trying to represent the number 2 as a subscript in a property list file. I tried using<sub>2</sub>, but it doesn’t seem to work. Can anyone help me with this? and will it be stored correctly in a string after I store it there?
I am trying to represent the number 2 as a subscript in a property
Share
A plist file is typically a UTF-8 encoded XML file. You should be able to use the Unicode subscript characters as it is. To copy a non-ASCII char, you can use the Keyboard & Character Viewer (on Lion: System Preferences > Language & Text > Input Sources > Select the Keyboard & Character Viewer as an input source).