Android Studio编码与德语变音字符例如。 Ä,Ü和Ö

时间:2015-04-17 08:08:38

标签: encoding android-studio

字符串中不支持德语变音字符(Ä,Ü和Ö)。我使用的是Android Studio(版本1.2 Beta)。

德语字符Ä,Ö,Ü未正确显示。

在我的Gradle文件中,我分配了以下编码:

compileOptions.encoding = 'windows-1252'

以下是说明情况的屏幕截图

enter image description here

编辑:我在模拟器中看到的字符不正确,而不是Ä,Ö,Ü:

enter image description here

1 个答案:

答案 0 :(得分:1)

尝试使用UTF-8编码,据我所知它支持德语符号。

相关问题