From c8958d7b12cd589fc07e79d4e97f9655cd493f02 Mon Sep 17 00:00:00 2001 From: Jgunishka <53265225+Jgunishka@users.noreply.github.com> Date: Wed, 21 Aug 2019 21:30:47 +0300 Subject: [PATCH] Add charset option to config --- src/org/emulinker/util/EmuLinkerExecutor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/emulinker/util/EmuLinkerExecutor.java b/src/org/emulinker/util/EmuLinkerExecutor.java index b0e3a32..6d33974 100644 --- a/src/org/emulinker/util/EmuLinkerExecutor.java +++ b/src/org/emulinker/util/EmuLinkerExecutor.java @@ -17,5 +17,6 @@ public class EmuLinkerExecutor extends ThreadPoolExecutor // super((config.getInt("server.maxUsers")*2)+10, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue()); // super.prestartAllCoreThreads(); super(5, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue()); + System.setProperty("emulinker.charset", config.getString("emulinker.charset")); } }