Skip to content

fix: potential garbling#61

Merged
jpenilla merged 2 commits intojpenilla:masterfrom
SNWCreations:master
Apr 29, 2026
Merged

fix: potential garbling#61
jpenilla merged 2 commits intojpenilla:masterfrom
SNWCreations:master

Conversation

@SNWCreations
Copy link
Copy Markdown
Contributor

closes #60

@SNWCreations SNWCreations mentioned this pull request Jul 3, 2024
@jpenilla
Copy link
Copy Markdown
Owner

jpenilla commented Jul 6, 2025

What exactly does this fix? Old Minecraft versions not properly specifying UTF-8 for the terminal? It seems like it could have other unintended side-effects, and would mean the development environment is different from a standard one. Unless there is some other context I'm missing.

@SNWCreations
Copy link
Copy Markdown
Contributor Author

SNWCreations commented Jul 6, 2025 via email

@jpenilla
Copy link
Copy Markdown
Owner

jpenilla commented Jul 6, 2025

Is setting this property commonplace in the Chinese community? Maybe we should adjust something in Paper to avoid needing it on newer versions? I am mainly concerned about inconsistency between dev and standard user environment, and the potential to hide bugs or oversights in plugins. Since this applies to more than just the console.

@SNWCreations
Copy link
Copy Markdown
Contributor Author

SNWCreations commented Jul 6, 2025 via email

@jpenilla
Copy link
Copy Markdown
Owner

Approved, with a note:

Thanks for the PR. I'm going to merge this — it's a pragmatic fix for developers on non-UTF-8 system locales.

That said, if you think this file.encoding default should be handled more broadly (e.g. at the Paper server level so it also benefits production servers), please open an issue on the Paper repository to discuss it upstream. That would be the right place to fix it for everyone, not just dev environments using run-task.

@jpenilla jpenilla merged commit 1c0e2b9 into jpenilla:master Apr 29, 2026
2 checks passed
@SNWCreations
Copy link
Copy Markdown
Contributor Author

SNWCreations commented Apr 29, 2026

Approved, with a note:

Thanks for the PR. I'm going to merge this — it's a pragmatic fix for developers on non-UTF-8 system locales.

That said, if you think this file.encoding default should be handled more broadly (e.g. at the Paper server level so it also benefits production servers), please open an issue on the Paper repository to discuss it upstream. That would be the right place to fix it for everyone, not just dev environments using run-task.

I'm surprised to receive comment from this PR because I'm totally forget about this.
Thanks for your suggestion, will open one for it when I'm available and give my think there.

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.

Terminal charset

2 participants