mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
fix:charset detect don't work
This commit is contained in:
@@ -74,7 +74,7 @@ public class Localizer {
|
||||
String formattedMessage = "CHAR ENCODING ERROR";
|
||||
final String[] charsets = { "ISO-8859-1", "UTF-8" };
|
||||
//Support non-English-standard characters
|
||||
String detectedCharset = charset(new String(formatter.toString()), charsets);
|
||||
String detectedCharset = charset(resourceBundle.getString(key), charsets);
|
||||
|
||||
final int argLength = messageArguments.length;
|
||||
Object[] syncEncodingMessageArguments = new Object[argLength];
|
||||
|
||||
Reference in New Issue
Block a user