How to show copyright symbol in android dialog?

I have to show the copyright symbol: © in the AlertDialog post. I set the string value with the copyright symbol in res / string. But when you open a dialog, the symbol appears as a question mark. How can I correctly show the copyright symbol in a dialog box. Thank.

+51
android
Jul 13 '10 at 23:10
source share
6 answers

You can also use the Unicode character for this: "\ u00A9 2010 Test"

+111
Jul 29 '10 at 19:08
source share

Use © for writing © in String resource:

Copyright © Acme Industries, Inc

becomes

Copyright © Acme Industries, Inc

+68
Sep 04 '13 at 6:08 on
source share

Write it like this:

 > String copyright = "Copyright \u00a9 2013, ajdeguzman"; 
+33
Oct 23 '13 at 7:10
source share

very simple, try adding \ before @

0
Dec 23 '18 at 11:37
source share

Use "\ u00a9", this works exactly as required.

0
Apr 16 '19 at 6:58
source share

Unicode for all characters can be found at https://unicode-table.com/en/#basic-latin.

0
Jul 09 '19 at 18:34
source share



All Articles