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

encoding confusion in "Total concurrency" output #1113

Open
Bananeweizen opened this issue Aug 26, 2024 · 0 comments
Open

encoding confusion in "Total concurrency" output #1113

Bananeweizen opened this issue Aug 26, 2024 · 0 comments

Comments

@Bananeweizen
Copy link
Contributor

I run Windows, with my terminal using code page 437 (which I believe is a default for Western European setups). I use Java 21 for all things Maven. The total concurrency output line looks broken for me, because it uses UTF-8 encoding for the character C2A0 (non breaking space) between the number and the percent sign:
grafik
Switching my terminal to codepage 65001 makes that line render correctly.

While UTF-8 is meanwhile the default for modern Java versions, shouldn't the output be converted to whatever the running terminal uses?

The code creating the output initially is in the smartbuilder over at https://github.com/takari/takari-smart-builder/blob/3cf2c99f4f9caa65e505917ca6864c8a6bb9fa59/src/main/java/io/takari/maven/builder/smart/SmartBuilder.java#L160C38-L160C56

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

3 participants
@Bananeweizen and others