
[Bug] Does not specify locale when using toUpperCase and toLowerCase
Poopooracoocoo opened this issue · 1 comments
What happened?
These are not locale agnostic. This can cause issues (such as crashes or failure to load resources) with locales such as Turkish, which convert "i" to "ı"
You should be using Locale.ROOT.
Notes
https://garygregory.wordpress.com/2015/11/03/java-lowercase-conversion-turkey/
http://www.i18nguy.com/unicode/turkish-i18n.html
https://haacked.com/archive/2012/07/05/turkish-i-problem-and-why-you-should-care.aspx/
Workaround for users
Add the following JVM arguments: -Duser.language=en -Duser.region=US
You can change the language in Minecraft after doing this.
BetterNether
21.0.11
BCLib
21.0.13
Fabric API
0.115.0
Fabric Loader
0.16.10
Minecraft
1.20.4
Relevant log output
No response
Other Mods
No response