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

issue with content type of output file #3

Open
gcornacchia opened this issue Oct 25, 2024 · 5 comments
Open

issue with content type of output file #3

gcornacchia opened this issue Oct 25, 2024 · 5 comments

Comments

@gcornacchia
Copy link

Hi,
the output file resulting from the combination of several yaml files has an ANSI encoding, how can I keep utf-8 as the original yaml files?

@gcornacchia
Copy link
Author

@knoxg

@knoxg
Copy link
Contributor

knoxg commented Oct 25, 2024

Hi @gcornacchia.

I can look at adding an encoding parameter but in the meantime you could try setting the default encoding on the commandline via

-Dfile.encoding=UTF-8

( from https://stackoverflow.com/questions/1006276/what-is-the-default-encoding-of-the-jvm ). That page also suggests setting the LC_ALL environment variable but I have tried either of these suggestions so not sure if either will work.

@gcornacchia
Copy link
Author

hi @knoxg, checkout my PR #4 and tell me what do you think

@knoxg
Copy link
Contributor

knoxg commented Nov 1, 2024

Looks great, thanks.

Will merge that in & cut a new release

@knoxg
Copy link
Contributor

knoxg commented Nov 1, 2024

Released v2,0,8 , should appear in maven central in a few hours

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

2 participants