错误:编码GBK的未映射字符

时间:2018-07-05 03:33:34

标签: java android

builder.put("XAU", "Gold");
builder.put("XCD", "East Caribbean Dollar");
builder.put("XDR", "Special Drawing Rights");
builder.put("XOF", "CFA Franc BCEAO");
builder.put("XPF", "CFP Franc");
builder.put("YER", "Yemeni Rial");
builder.put("ZAR", "South African Rand");
builder.put("ZMK", "Zambian Kwacha (1968–2012)");
builder.put("ZMW", "Zambian Kwacha");
builder.put("ZWL", "Zimbabwean Dollar (2009)");

1.I单击错误,然后跳至“赞比亚克瓦查(1968–2012)”     ***我尝试将以下代码添加到build.gradle

tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}

2。并且我还将Android Studio的文件编码更改为UTF-8,     但以上都失败了。我该怎么解决?

0 个答案:

没有答案