System.out.println(Charset.forName(System.getProperty("ISO-2022-CN")).decode(read1));Exception in thread "main" java.lang.IllegalArgumentException: Null charset name
at java.nio.charset.Charset.lookup(Unknown Source)
at java.nio.charset.Charset.forName(Unknown Source)
at TestIO.copy_file2(TestIO.java:38)
at TestIO.main(TestIO.java:15)
[iframe=http://community.csdn.net/games/gamepawnsimple.aspx?id=funnyone ][/iframe]我是自己利用Charset.availableCharsets();弄出的名字