Android默认字符编码 [英] Android default character encoding

查看:162
本文介绍了Android默认字符编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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默认字符编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆