mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-2093 plugins fixes
This commit is contained in:
@ -31,7 +31,10 @@ public class FlashingResources {
|
|||||||
|
|
||||||
public static final String getString(String propertyName) {
|
public static final String getString(String propertyName) {
|
||||||
try {
|
try {
|
||||||
|
/* Revert to this code after Spark is moved to Java 11 or newer
|
||||||
return prb.getString(propertyName);
|
return prb.getString(propertyName);
|
||||||
|
*/
|
||||||
|
return new String(prb.getString(propertyName).getBytes("ISO-8859-1"), "UTF-8");
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
Log.error(e);
|
Log.error(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user