@ -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)
}