InputStream is = new ByteArrayInputStream(text.getBytes("UTF-8"));//该片段来自于http://www.codesnippet.cn/detail/280120131954.html
来源: http://www.codesnippet.cn/detail/280120131954.html