java 在 TextView 中打印版权符号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12074521/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 07:29:48  来源:igfitidea点击:

print copyright symbol in TextView

javaandroid

提问by Rookie

I am parsing the xml which has copyright symbol in some tag which i'm getting as String and displaying it on TextView. But instead of symbol it is printing #174; . Can anyone tell that how can I print appropriate symbol.

我正在解析在某些标记中具有版权符号的 xml,我将其作为字符串获取并显示在 TextView 上。但它不是符号而是打印#174;. 谁能告诉我如何打印适当的符号。

EDIT: It is like this in xml Raghav?and i want to display it like this, but it is displaying only #174;

编辑:在 xml Raghav 中是这样的吗?我想像这样显示它,但它只显示#174;

回答by noloman

Try the unicode symbol "\u00a9" and see if it works

试试 unicode 符号“\u00a9”,看看它是否有效

回答by user13379049

Try the copyright symbol using string '&#169', it will surely help you in accessing your xml like this- Raghav?.

尝试使用字符串“©”的版权符号,它肯定会帮助您像这样访问您的 xml- Raghav?.