How to show the copyright symbol in a Android dialog?
AndroidAndroid Problem Overview
I have to show copyright symbol: © in the message of an AlertDialog. I set a string value with the copyright symbol in res/string. But the symbol is shown as a question mark when the dialog opens. How can I correctly show the copyright symbol in the dialog. Thanks.
Android Solutions
Solution 1 - Android
You can also use the Unicode character for this: "\u00A9 2010 Test"
Solution 2 - Android
Use ©
to write © in a String resource:
Copyright © Acme Industries, Inc
becomes
Copyright © Acme Industries, Inc
Solution 3 - Android
Write it this way:
> String copyright = "Copyright \u00a9 2013, ajdeguzman";
Solution 4 - Android
Use "\u00a9" it is working exactly as required.
Solution 5 - Android
very simple, try adding \ before @