您的位置:首页 > 编程语言 > Java开发

java bytes & string conversion

2016-07-01 15:06 495 查看
By default, java using utf-8 as string encoding.

While convert bytes to string you need to take care of the encoding, if you want to reserve the original bytes, you have to choose the 1-1 encoding, like ASCII ISO-5589-1 etc.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: