record2021
gedoor 3 years ago
parent 6b046f8707
commit c3ce99cce2
  1. 13
      app/src/main/java/io/legado/app/lib/icu4j/CharsetDetector.java

@ -1,10 +1,10 @@
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/**
* ******************************************************************************
* Copyright (C) 2005-2016, International Business Machines Corporation and *
* others. All Rights Reserved. *
* ******************************************************************************
/*
******************************************************************************
Copyright (C) 2005-2016, International Business Machines Corporation and *
others. All Rights Reserved. *
******************************************************************************
*/
package io.legado.app.lib.icu4j;
@ -332,7 +332,7 @@ public class CharsetDetector {
* it by removing what appears to be html markup.
*/
private void MungeInput() {
int srci = 0;
int srci;
int dsti = 0;
byte b;
boolean inMarkup = false;
@ -496,6 +496,7 @@ public class CharsetDetector {
list.add(new CSRecognizerInfo(new CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl(), false));
list.add(new CSRecognizerInfo(new CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr(), false));
//noinspection Java9CollectionFactory
ALL_CS_RECOGNIZERS = Collections.unmodifiableList(list);
}

Loading…
Cancel
Save