String resource with index letter
android
Solution
If it is only for ² and ³: Those are available at UTF 00B2 resp. 00B3 so you can just use the entity notation: `The area is 2 m\u00B2.`. Or use the character directly, if your keyboard supports it or copy and paste it into the file.
Problem
I have not found it anywhere so I am asking. How can I write string with upper index? Prefferably in resources. For example I want write square meters as m2 where 2 is upper index. Thanks