Android默认字符编码 [英] Android default character encoding
本文介绍了Android默认字符编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Android系统的默认字符编码是什么?
What is the default character encoding of the Android system? Which Charset
is used?
推荐答案
更新于2016年:我提供的链接不再提及UTF-8。
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屋!
查看全文