If your device does not automatically convert numbers to subscripts and charges to superscripts, you will need to use an alternative formatting. Use '^' to indicate the charge after the symbol is a superscript. Use '/' to indicate the number after it is a subscript.
For example: X2Z3 is the same as X/2Z/3
For example: X+2 is the same as X^+2