Found reliance on default encoding: new java.io.InputStreamReader(InputStream)

Found reliance on default encoding: new java.io.InputStreamReader(InputStream)

Reliance on default encoding
Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.

参考:https://blog.csdn.net/baidu_30809315/article/details/78951475


253 Clicks !

发表评论

电子邮件地址不会被公开。