"Non [a-z0-9/._-] character in path of location: projectexpansion:pınk_matter" on starting server
hssndrms opened this issue · 2 comments
hi, while loading the server it gives an error about the pink_matter object. the error log is attached. While searching for the cause of the error, I found that other mods had a similar problem.
In issue #94 you replied "That's a perfectly valid path, look into the other mods you're using.".
Could the problem be caused by using toLowerCase() without specifying the locale?
as you know this function works by locale. If you don't point out the desired locale, it uses systems locale. In my case; "PINK_MATTER" to "pınk_matter" which has a non English character "ı"
because the language of the computer I use is not English.
I think changing "this.name = name().toLowerCase();" to "this.name = name().toLowerCase(Locale.US);" on line 95 in "src/main/java/cool/furry/mc/forge/projectexpansion/util/Matter.java" may fix the problem
Minecraft Version
1.16.5
ProjectExpansion Version
1.0.40
Forge Version
36.2.34
Fixed in 1.0.10 for 1.19.2
This fix may come to other versions, depending on how easy the port is for everything else, and how much overall freetime I have