pull/1511/head
parent
23d883a50b
commit
f1dfca2154
@ -1,7 +1,7 @@ |
|||||||
package io.legado.app.utils |
package io.legado.app.utils |
||||||
|
|
||||||
@Suppress("unused") |
@Suppress("unused") |
||||||
object UTF8BOMFighter { |
object Utf8BomUtils { |
||||||
private val UTF8_BOM_BYTES = byteArrayOf(0xEF.toByte(), 0xBB.toByte(), 0xBF.toByte()) |
private val UTF8_BOM_BYTES = byteArrayOf(0xEF.toByte(), 0xBB.toByte(), 0xBF.toByte()) |
||||||
|
|
||||||
fun removeUTF8BOM(xmlText: String): String { |
fun removeUTF8BOM(xmlText: String): String { |
Loading…
Reference in new issue