From ec4b969e2c87f83cd1f8bbd62c4f0df97b5c7751 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 7 Apr 2019 09:27:22 +0200 Subject: [PATCH] Replace latin encoding with utf-8 --- .../src/main/java/org/airsonic/player/util/StringUtil.java | 1 - airsonic-main/src/main/resources/applicationContext-cache.xml | 2 +- .../src/main/resources/applicationContext-service.xml | 2 +- airsonic-main/src/main/resources/applicationContext-sonos.xml | 2 +- airsonic-main/src/main/resources/servlet.xml | 2 +- airsonic-main/src/main/webapp/WEB-INF/dwr.xml | 2 +- airsonic-main/src/main/webapp/WEB-INF/sub.tld | 4 ++-- .../src/test/resources/applicationContext-mockSonos.xml | 2 +- pom.xml | 4 ++-- 9 files changed, 10 insertions(+), 11 deletions(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/util/StringUtil.java b/airsonic-main/src/main/java/org/airsonic/player/util/StringUtil.java index 959510ca..17d30bd2 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/util/StringUtil.java +++ b/airsonic-main/src/main/java/org/airsonic/player/util/StringUtil.java @@ -41,7 +41,6 @@ import java.util.regex.Pattern; */ public final class StringUtil { - public static final String ENCODING_LATIN = "ISO-8859-1"; public static final String ENCODING_UTF8 = "UTF-8"; private static final DateFormat ISO_8601_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); diff --git a/airsonic-main/src/main/resources/applicationContext-cache.xml b/airsonic-main/src/main/resources/applicationContext-cache.xml index 3fb5806c..ae0ee30c 100644 --- a/airsonic-main/src/main/resources/applicationContext-cache.xml +++ b/airsonic-main/src/main/resources/applicationContext-cache.xml @@ -1,4 +1,4 @@ - + + + + + diff --git a/airsonic-main/src/main/webapp/WEB-INF/sub.tld b/airsonic-main/src/main/webapp/WEB-INF/sub.tld index 9d7f17d8..ce316ab8 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/sub.tld +++ b/airsonic-main/src/main/webapp/WEB-INF/sub.tld @@ -1,4 +1,4 @@ - + - \ No newline at end of file + diff --git a/airsonic-main/src/test/resources/applicationContext-mockSonos.xml b/airsonic-main/src/test/resources/applicationContext-mockSonos.xml index dac835aa..49bd9202 100644 --- a/airsonic-main/src/test/resources/applicationContext-mockSonos.xml +++ b/airsonic-main/src/test/resources/applicationContext-mockSonos.xml @@ -1,4 +1,4 @@ - + true - iso-8859-1 + UTF-8 3.2.6 2.9.8 @@ -242,7 +242,7 @@ 1.8 1.8 - ISO-8859-1 + UTF-8 false 1.8 true