mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
Theme Editor: use UTF-8 encoding to load properties files
This commit is contained in:
@@ -23,7 +23,6 @@ import java.awt.Window;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import javax.swing.Action;
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.InputMap;
|
||||
@@ -186,7 +185,7 @@ class FlatThemeEditorPane
|
||||
void load( File file ) throws IOException {
|
||||
this.file = file;
|
||||
|
||||
textArea.load( FileLocation.create( file ), StandardCharsets.ISO_8859_1 );
|
||||
textArea.load( FileLocation.create( file ), "UTF-8" );
|
||||
}
|
||||
|
||||
boolean reloadIfNecessary() {
|
||||
|
||||
Reference in New Issue
Block a user