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
UTF-8 encoding must be explicitly specified under Windows. I.e. argument "-Dfile.encoding=UTF-8" must be used to start JVM. Otherwise all non ascii strings becomes corrupted in the game. It is true for official JRE 7, as well as for unofficial JRE 7.
So the game is started with corrupting russian letters by the .exe after packing. The game could be successfully started with correct letters by manually executing:
However .exe is not working when one includes "-Dfile.encoding=UTF-8" argument in config. I.e. the .exe just does nothing (now errors, no game start) with the following config:
I was experimenting and found this happens if the argument exceeds 14 characters. So it starts with argument "-Dfile.encodin" but does not start with argument ""-Dfile.encoding" (of corse the argument itself does not work).
The text was updated successfully, but these errors were encountered:
titovmaxim
changed the title
Encoding Java VM arg prevent .exe from start under windows
Java VM long argument prevents .exe from start under windows
Oct 10, 2014
UTF-8 encoding must be explicitly specified under Windows. I.e. argument "-Dfile.encoding=UTF-8" must be used to start JVM. Otherwise all non ascii strings becomes corrupted in the game. It is true for official JRE 7, as well as for unofficial JRE 7.
So the game is started with corrupting russian letters by the .exe after packing. The game could be successfully started with correct letters by manually executing:
However .exe is not working when one includes "-Dfile.encoding=UTF-8" argument in config. I.e. the .exe just does nothing (now errors, no game start) with the following config:
I was experimenting and found this happens if the argument exceeds 14 characters. So it starts with argument "-Dfile.encodin" but does not start with argument ""-Dfile.encoding" (of corse the argument itself does not work).
The text was updated successfully, but these errors were encountered: