Use Unicode characters in strings.xml Use Unicode characters in strings.xml android android

Use Unicode characters in strings.xml


It's

<string name="Example">Example character \u0026</string>

See more unicode characters here:

http://www.utf8-chartable.de/unicode-utf8-table.pl?number=1024&utf8=0x


if you go Unicode site : https://unicode-table.com/en/#control-character and click at this Unicode that says U+00AE you mustn't write the + symbol if you want copy paste this example at strings.xml:) :) :)

<string name="example">"\u00AE"</string>


Few important Unicode symbols for android strings.xml

<string name=”Rs”>\u20B9</string><string name=”filled_bullet”>\u25CF</string><string name=”linear_bullet”>\u25CB</string><string name=”rect_bullet”>\u25A0</string><string name=”blank_rect”>\u25A1</string><string name=”true_tick”>\u2713</string><string name=”star”>\u2605</string>

Full link is here