BufferedReader读取输入流的时候,
如:BufferedReader buffer = new BufferedReader(in);
可能会出现中文乱码,这个时候,要加编码;
BufferedReader buffer = new BufferedReader(in,"utf-8");
BufferedReader读取输入流的时候,
如:BufferedReader buffer = new BufferedReader(in);
可能会出现中文乱码,这个时候,要加编码;
BufferedReader buffer = new BufferedReader(in,"utf-8");
转载于:https://my.oschina.net/huangjing1992/blog/805919