InputStream is = new ByteArrayInputStream(str.getBytes("UTF-8"));//如果出现乱码,就用你的框架的编码如utf-8
将字符串转为流(InputStream)
最新推荐文章于 2024-06-17 09:15:47 发布
InputStream is = new ByteArrayInputStream(str.getBytes("UTF-8"));//如果出现乱码,就用你的框架的编码如utf-8