diff --git a/app/src/main/java/io/legado/app/utils/EncoderUtils.kt b/app/src/main/java/io/legado/app/utils/EncoderUtils.kt index ffc569ab3..409cb802c 100644 --- a/app/src/main/java/io/legado/app/utils/EncoderUtils.kt +++ b/app/src/main/java/io/legado/app/utils/EncoderUtils.kt @@ -1,7 +1,6 @@ package io.legado.app.utils import android.util.Base64 -import java.nio.charset.StandardCharsets @Suppress("unused") object EncoderUtils { @@ -28,7 +27,7 @@ object EncoderUtils { @JvmOverloads fun base64Decode(str: String, flags: Int = Base64.DEFAULT): String { val bytes = Base64.decode(str, flags) - return String(bytes, StandardCharsets.UTF_8) + return String(bytes) } @JvmOverloads