mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Game: improved wrong charset logs on startup
This commit is contained in:
parent
c03279d835
commit
5f2e06e1ff
1 changed files with 1 additions and 1 deletions
|
@ -1281,7 +1281,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
LOGGER.info("Logging level: " + LOGGER.getEffectiveLevel());
|
LOGGER.info("Logging level: " + LOGGER.getEffectiveLevel());
|
||||||
LOGGER.info("Default charset: " + Charset.defaultCharset());
|
LOGGER.info("Default charset: " + Charset.defaultCharset());
|
||||||
if (!Charset.defaultCharset().toString().equals("UTF-8")) {
|
if (!Charset.defaultCharset().toString().equals("UTF-8")) {
|
||||||
LOGGER.warn("WARNING, found wrong default charset. You must:");
|
LOGGER.warn("WARNING, bad charset. Some images will not be downloaded. You must:");
|
||||||
LOGGER.warn("* Open launcher -> settings -> java -> client java options");
|
LOGGER.warn("* Open launcher -> settings -> java -> client java options");
|
||||||
LOGGER.warn("* Insert additional command at the the end: -Dfile.encoding=UTF-8");
|
LOGGER.warn("* Insert additional command at the the end: -Dfile.encoding=UTF-8");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue