@@ -0,0 +1,1888 @@
+/*%0A * Copyright (c) 2013 - 2017 xxyy (Philipp Nowak; xyc@l1t.li). All rights reserved.%0A *%0A * Any usage, including, but not limited to, compiling, running, redistributing, printing,%0A *  copying and reverse-engineering is strictly prohibited without explicit written permission%0A *  from the original author and may result in legal steps being taken.%0A *%0A * See the included LICENSE file (core/src/main/resources) for details.%0A */%0A%0Apackage li.l1t.common.i18n;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.net.URL;%0Aimport java.net.URLConnection;%0Aimport java.util.Locale;%0Aimport java.util.PropertyResourceBundle;%0Aimport java.util.ResourceBundle;%0A%0Apublic class Utf8Control extends ResourceBundle.Control %7B%0A    public ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)%0A            throws IllegalAccessException, InstantiationException, IOException %7B%0A        // below is basically a copy of the default implementation that just uses UTF-8%0A        String bundleName = toBundleName(baseName, locale);%0A        String resourceName = toResourceName(bundleName, %22properties%22);%0A        InputStream stream = null;%0A        if (reload) %7B%0A            URL url = loader.getResource(resourceName);%0A            if (url != null) %7B%0A                URLConnection connection = url.openConnection();%0A                if (connection != null) %7B%0A                    connection.setUseCaches(false);%0A                    stream = connection.getInputStream();%0A                %7D%0A            %7D%0A        %7D else %7B%0A            stream = loader.getResourceAsStream(resourceName);%0A        %7D%0A        if (stream != null) %7B%0A            try (InputStreamReader reader = new InputStreamReader(stream, %22UTF-8%22)) %7B%0A                return new PropertyResourceBundle(reader);%0A            %7D%0A        %7D%0A        return null;%0A    %7D%0A%7D%0A

Add Utf8Control for UTF-8 ResourceBundles