Interesting bug found in the latest version of Defold (no in previous).
I have one screen in the game where changable strings contains in the gui_script. And all correct in win dm_engine, but not correct in bundle, HTML5 for example on screenshot (the same in Android bunlde):
We’ve finally pinpointed the culprit, and it was that some code in bob.jar started relying on UTF-8 encoding. And this has worked depending on your local system settings.
This affected any system where this was controlled by the system, for java. (e.g. older osx’s, windows)
As a current workaround, you can set this variable in three ways:
Editor 2
Open the ./Defold/config file and add the property at the front of the vmargs setting:
vmargs = -Dfile.encoding=UTF-8,....<leave the rest as-is>...
Bob.jar
Add the property when invoking java:
$ java -Dfile.encoding=UTF-8 -jar bob.jar …
Environment variable
Set an environment variable (don’t forget to remove it later!):