From 1fe3f10be72e85406ad7620591f43ce954d12b31 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 12 May 2018 10:54:15 -0400 Subject: [PATCH] Added comment showing where the code is from --- src/main/java/com/rarchives/ripme/utils/UTF8Control.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/rarchives/ripme/utils/UTF8Control.java b/src/main/java/com/rarchives/ripme/utils/UTF8Control.java index 2441ed7c..6cd81bbb 100644 --- a/src/main/java/com/rarchives/ripme/utils/UTF8Control.java +++ b/src/main/java/com/rarchives/ripme/utils/UTF8Control.java @@ -9,6 +9,8 @@ import java.util.Locale; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; +// Code taken from https://stackoverflow.com/questions/4659929/how-to-use-utf-8-in-resource-properties-with-resourcebundle/4660195#4660195 + public class UTF8Control extends ResourceBundle.Control { public ResourceBundle newBundle (String baseName, Locale locale, String format, ClassLoader loader, boolean reload)