|
|
@ -172,7 +172,7 @@ public class ConsoleDecompiler implements IBytecodeProvider, IResultSaver { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void saveClassFile(String path, String qualifiedName, String entryName, String content, int[] mapping) { |
|
|
|
public void saveClassFile(String path, String qualifiedName, String entryName, String content, int[] mapping) { |
|
|
|
File file = new File(getAbsolutePath(path), entryName); |
|
|
|
File file = new File(getAbsolutePath(path), entryName); |
|
|
|
try (Writer out = new OutputStreamWriter(new FileOutputStream(file), "UTF8")) { |
|
|
|
try (Writer out = new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8)) { |
|
|
|
out.write(content); |
|
|
|
out.write(content); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (IOException ex) { |
|
|
|
catch (IOException ex) { |
|
|
|