SPARK-2093 plugins fixes

This commit is contained in:
wroot
2020-06-08 12:46:33 +03:00
committed by GitHub
parent 5140a0517d
commit 4449d34e72

View File

@ -31,7 +31,10 @@ public class FlashingResources {
public static final String getString(String propertyName) {
try {
/* Revert to this code after Spark is moved to Java 11 or newer
return prb.getString(propertyName);
*/
return new String(prb.getString(propertyName).getBytes("ISO-8859-1"), "UTF-8");
}
catch (Exception e) {
Log.error(e);