Expected behavior
I expect Paper not to insert any erroneous characters into the motd field of my server.properties file when using non-standard characters and starting the server.
Observed/Actual behavior
When the motd in the server.properties file contains non-standard characters, Paper inserts erroneous characters before or after them. As a side effect, each time the server is restarted, additional erroneous characters are inserted, which can eventually cause the server.properties file to grow significantly in size.
Steps/models to reproduce
- Start a server with non-standard characters (e.g., "§", "Ã", etc.) in the motd of the server.properties file.
- Observe that erroneous characters are inserted before or after these symbols upon server startup.
- Optionally, restart the server to observe that additional erroneous characters are inserted, leading to a growth in the size of the server.properties file.
Plugin and Datapack List
None
Paper version
git-Paper-238
Other
No response
Expected behavior
I expect Paper not to insert any erroneous characters into the motd field of my server.properties file when using non-standard characters and starting the server.
Observed/Actual behavior
When the motd in the server.properties file contains non-standard characters, Paper inserts erroneous characters before or after them. As a side effect, each time the server is restarted, additional erroneous characters are inserted, which can eventually cause the server.properties file to grow significantly in size.
Steps/models to reproduce
Plugin and Datapack List
None
Paper version
git-Paper-238
Other
No response