/ ** * turn the Chinese characters in the file name into the UTF8 encoded string so that you can correctly display the saved file name. * @Param s Original file name * @return Recode file name * / public static string toutf8string String s) {stringbuffer sb = new stringbuffer (); for (int i = 0; i = 0 && c <= 255) {sb.append (c);} else {byte [] b; try {b = character.tostring (c) .getbytes ("UTF-8");} catch (exception ex) {system.out.println (EX); b = new byte [0];} for (int J = 0; j