strPath = new String(System.getProperty("file.encoding").getBytes(),"GBK");or strPath = new String(System.getProperty("file.encoding").getBytes(),"GB2312");食食看......
或应这样: strPath = new String( System.getProperty("file.encoding").getBytes("GB2312") );
strPath = new String(System.getProperty("file.encoding").getBytes(),"GB2312");食食看......
strPath = new String( System.getProperty("file.encoding").getBytes("GB2312") );