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

Encode transformed properties files with specified Charset #819

Merged

Conversation

scottsteen
Copy link

Currently, the content from any properties file that is passed through the PropertiesFileTransformer will have its output written into the jar encoded as ISO_8859_1. If the source file contains UTF-8 content, the output becomes corrupted.

This commit allows the buildscript to define the Charset to perform the transformation with.

Resolves #818

Currently, the content from any properties file that is passed through
the `PropertiesFileTransformer` will have its output written into the
jar encoded as `ISO_8859_1`. If the source file contains UTF-8 content,
the output becomes corrupted.

This commit allows the buildscript to define the Charset to perform the
transformation with.
@johnrengelman johnrengelman added this to the 8.1.1 milestone Mar 20, 2023
@johnrengelman johnrengelman merged commit 5aecf84 into johnrengelman:master Mar 20, 2023
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

Successfully merging this pull request may close these issues.

UTF-8 encoded content not output correctly by PropertiesFileTransformer
2 participants