You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a java file uses utf-8 in development environment and it contains strings invocation (such as JLang's), these strings will become gibberish in non-development environment.
Been tested, in net.devtech.arrp.impl.RuntimeResourcePackImpl#serialize appending a parameter Charsets.UTF_8 to new OutputStreamWriter(ubaos) will solve this.
I guess the reason is that in non-development environment the java.nio.charset.Charset#defaultCharset is not Charsets.UTF_8.
The text was updated successfully, but these errors were encountered:
If a java file uses utf-8 in development environment and it contains strings invocation (such as JLang's), these strings will become gibberish in non-development environment.
Been tested, in
net.devtech.arrp.impl.RuntimeResourcePackImpl#serialize
appending a parameterCharsets.UTF_8
tonew OutputStreamWriter(ubaos)
will solve this.I guess the reason is that in non-development environment the
java.nio.charset.Charset#defaultCharset
is notCharsets.UTF_8
.The text was updated successfully, but these errors were encountered: