Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I hope to output utf-8 encoded files without setting __unicode, or add an option to control the encoding #34

Open
wxyu247 opened this issue Jan 4, 2022 · 0 comments

Comments

@wxyu247
Copy link

wxyu247 commented Jan 4, 2022

\procyon-develop\Procyon.Decompiler\src\main\java\com\strobel\decompiler\DecompilerDriver.java

    FileOutputWriter(final File file, final DecompilerSettings settings) throws IOException {
        super(
            new FileOutputStream(file),
            settings.isUnicodeOutputEnabled() ? Charset.forName("UTF-8")
                                              : Charset.defaultCharset()
        );
        this.file = file;
    }

ANSI encoded file output on my operating system by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant