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.
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 thejava.nio.charset.Charset#defaultCharset
is notCharsets.UTF_8
.