有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java Android字符映射未保存

我正在用安卓 tv.settext("√"+value +" = "+result);写这个声明 tv.settext("√3=17321");最终结果是看起来像√3=17321但当我保存或运行程序时,它会显示此错误。我不知道如何发布图像,但我发现逗号“”中存在写入错误

"Save coult not be completed. Try File>Save As...if the problem persists.
    Reason :
    Some characters cannot be mapped using "Cp 1252" character encoding. 
    Either change the encoding or remove the character which are not 
    supported by the "Cp1252" character encoding".

Button(1)Text=OK    Button(2)Text=Save as UTF-8   Button(3)Text=Select First Character

共 (1) 个答案

  1. # 1 楼答案

    编辑

    答案是只需点击另存为UTF-8按钮,它不会在您的程序中产生问题