This commit is contained in:
gedoor 2022-01-02 21:16:52 +08:00
parent 6b046f8707
commit c3ce99cce2

View File

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