Android系统的默认字符编码是什么?使用哪个 Charset ?
What is the default character encoding of the Android system? Which Charset is used?
推荐答案:链接再次提及UTF-8作为Android平台的默认值。
Update as of 2017: The link once again mentions UTF-8 as the default for the Android plattform.
截至2016年的更新:链接我不再提及UTF-8。仍然可以在具有上述API调用的设备上找到默认字符集。
Update as of 2016: The link I provide no longer mentions UTF-8. Still, the default charset can still be found on a device with the mentioned API call.
旧答案 Android的默认字符编码方式UTF-8,由 JavaDoc的 Charset.defaultCharset()方法。它可以通过调用相同的方法来验证。
Old answer: The default character encoding for Android is UTF-8, as specified by the JavaDoc of the Charset.defaultCharset() method. It can be validated by calling that same method.
更多推荐
Android默认字符编码
发布评论