Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kcodecs for openSUSE:Factory checked in at 2021-08-16 10:07:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcodecs (Old) and /work/SRC/openSUSE:Factory/.kcodecs.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcodecs" Mon Aug 16 10:07:34 2021 rev:94 rq:912115 version:5.85.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcodecs/kcodecs.changes 2021-07-16 00:01:01.589254948 +0200 +++ /work/SRC/openSUSE:Factory/.kcodecs.new.1899/kcodecs.changes 2021-08-16 10:11:24.675110807 +0200 @@ -1,0 +2,10 @@ +Fri Aug 6 12:11:34 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.85.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.85.0 +- Changes since 5.84.0: + * Unbreak build with gperf < 3.1 + +------------------------------------------------------------------- Old: ---- kcodecs-5.84.0.tar.xz kcodecs-5.84.0.tar.xz.sig New: ---- kcodecs-5.85.0.tar.xz kcodecs-5.85.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcodecs.spec ++++++ --- /var/tmp/diff_new_pack.6KtEfm/_old 2021-08-16 10:11:25.155110244 +0200 +++ /var/tmp/diff_new_pack.6KtEfm/_new 2021-08-16 10:11:25.159110239 +0200 @@ -17,14 +17,14 @@ %define lname libKF5Codecs5 -%define _tar_path 5.84 +%define _tar_path 5.85 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: kcodecs -Version: 5.84.0 +Version: 5.85.0 Release: 0 Summary: Method collection to manipulate strings using various encodings License: LGPL-2.1-or-later ++++++ kcodecs-5.84.0.tar.xz -> kcodecs-5.85.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/CMakeLists.txt new/kcodecs-5.85.0/CMakeLists.txt --- old/kcodecs-5.84.0/CMakeLists.txt 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/CMakeLists.txt 2021-08-06 11:00:43.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.84.0") # handled by release scripts +set(KF_VERSION "5.85.0") # handled by release scripts project(KCodecs VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.84.0 NO_MODULE) +find_package(ECM 5.85.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/autotests/kemailaddresstest.cpp new/kcodecs-5.85.0/autotests/kemailaddresstest.cpp --- old/kcodecs-5.84.0/autotests/kemailaddresstest.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/autotests/kemailaddresstest.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -177,7 +177,7 @@ // instead of local part QTest::newRow("13") << "matt douhan matt@<fruitsalad.org" << UnclosedAngleAddr; - // check that a properly formated anglebrackets situation is OK + // check that a properly formatted anglebrackets situation is OK QTest::newRow("14") << "matt douhan<[email protected]>" << AddressOk; // a full email address with comments angle brackets and the works should be valid too diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/po/ar/kcodecs5_qt.po new/kcodecs-5.85.0/po/ar/kcodecs5_qt.po --- old/kcodecs-5.84.0/po/ar/kcodecs5_qt.po 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/po/ar/kcodecs5_qt.po 2021-08-06 11:00:43.000000000 +0200 @@ -13,7 +13,7 @@ # Khaled Hosny <[email protected]>, 2007. # Youssef Chahibi <[email protected]>, 2007. # zayed <[email protected]>, 2008, 2009. -# Zayed Al-Saidi <[email protected]>, 2009. +# Zayed Al-Saidi <[email protected]>, 2009, 2021. # hanny <[email protected]>, 2012. # Abderrahim Kitouni <[email protected]>, 2012. # Safa Alfulaij <[email protected]>, 2013, 2017, 2018. @@ -23,16 +23,16 @@ "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-03-23 01:50+0000\n" -"PO-Revision-Date: 2018-06-09 22:18+0300\n" -"Last-Translator: Safa Alfulaij <[email protected]>\n" -"Language-Team: Arabic <[email protected]>\n" +"PO-Revision-Date: 2021-07-25 17:29+0400\n" +"Last-Translator: Zayed Al-Saidi <[email protected]>\n" +"Language-Team: ar\n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Lokalize 2.0\n" +"X-Generator: Lokalize 21.07.70\n" "X-Qt-Contexts: true\n" #: kcharsets.cpp:155 @@ -139,12 +139,6 @@ msgstr "%1 ( %2 )" #: kemailaddress.cpp:503 -#, fuzzy -#| msgctxt "QObject|" -#| msgid "" -#| "The email address you entered is not valid because it contains more than " -#| "one @. You will not create valid messages if you do not change your " -#| "address." msgctxt "QObject|" msgid "" "The email address you entered is not valid because it contains more than one " @@ -152,21 +146,17 @@ "You will not create valid messages if you do not change your address." msgstr "" "?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ?????????? ???????? ???? ?????????? @ " -"??????????. ???? ???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." +"??????????.\n" +" ???? ???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." #: kemailaddress.cpp:509 -#, fuzzy -#| msgctxt "QObject|" -#| msgid "" -#| "The email address you entered is not valid because it does not contain a " -#| "@. You will not create valid messages if you do not change your address." msgctxt "QObject|" msgid "" "The email address you entered is not valid because it does not contain a @.\n" "You will not create valid messages if you do not change your address." msgstr "" -"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ???? ?????????? ?????????? @. ???? " -"???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." +"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ???? ?????????? ?????????? @.\n" +" ???? ???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." #: kemailaddress.cpp:515 msgctxt "QObject|" @@ -229,20 +219,14 @@ "?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ?????????? ?????????? ?????? ????????????." #: kemailaddress.cpp:543 -#, fuzzy -#| msgctxt "QObject|" -#| msgid "" -#| "The email address you entered is not valid because it ended unexpectedly. " -#| "This probably means you have used an escaping type character like a '\\' " -#| "as the last character in your email address." msgctxt "QObject|" msgid "" "The email address you entered is not valid because it ended unexpectedly.\n" "This probably means you have used an escaping type character like a '\\' as " "the last character in your email address." msgstr "" -"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ?????????? ???????? ?????? ??????????. ?????? " -"???????? ?????? ?????????????? ???????????? ???? ?????? ???????????? ?????? ???\\??? ???????? ???????? ???? ?????????? ???????????? " +"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ?????????? ???????? ?????? ??????????.\n" +" ?????? ???????? ?????? ?????????????? ???????????? ???? ?????? ???????????? ?????? ???\\??? ???????? ???????? ???? ?????????? ???????????? " "????????????????????." #: kemailaddress.cpp:549 @@ -279,19 +263,14 @@ "?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ?????????? ?????? ?????? ?????? ????????." #: kemailaddress.cpp:566 -#, fuzzy -#| msgctxt "QObject|" -#| msgid "" -#| "The email address you entered is not valid because it does not contain a " -#| "'.'. You will not create valid messages if you do not change your address." msgctxt "QObject|" msgid "" "The email address you entered is not valid because it does not contain a " "'.'.\n" "You will not create valid messages if you do not change your address." msgstr "" -"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ???? ?????????? ???????? ???.???. ???? " -"???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." +"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ???? ?????????? ???????? ???.???.\n" +" ???? ???????????? ?????????? ?????????? ?????????? ???? ???? ????????????." #: kemailaddress.cpp:572 msgctxt "QObject|" @@ -299,20 +278,14 @@ msgstr "?????????? ?????????? ???????????? ???????????????????? ????????????" #: kemailaddress.cpp:632 -#, fuzzy -#| msgctxt "QObject|" -#| msgid "" -#| "The email address you entered is not valid because it does not seem to " -#| "contain an actual email address, i.e. something of the form joe@example." -#| "org." msgctxt "QObject|" msgid "" "The email address you entered is not valid.\n" "It does not seem to contain an actual email address, i.e. something of the " "form [email protected]." msgstr "" -"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ???????? ???????? ???? ???????? ?????????? ???????? " -"???????????????? ???????????? ???? ?????????? ?????? [email protected]." +"?????????? ???????????? ???????????????????? ???????? ???????????? ?????? ????????.\n" +"???????? ???? ???????? ?????????? ???????? ???????????????? ???????????? ???? ?????????? ?????? [email protected]." #: kencodingprober.cpp:225 kencodingprober.cpp:266 msgctxt "KEncodingProber|@item Text character set" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/po/zh_CN/kcodecs5_qt.po new/kcodecs-5.85.0/po/zh_CN/kcodecs5_qt.po --- old/kcodecs-5.84.0/po/zh_CN/kcodecs5_qt.po 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/po/zh_CN/kcodecs5_qt.po 2021-08-06 11:00:43.000000000 +0200 @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2021-06-20 07:35\n" +"PO-Revision-Date: 2021-07-26 13:47\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/CMakeLists.txt new/kcodecs-5.85.0/src/CMakeLists.txt --- old/kcodecs-5.84.0/src/CMakeLists.txt 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/CMakeLists.txt 2021-08-06 11:00:43.000000000 +0200 @@ -6,6 +6,15 @@ ecm_gperf_generate(kentities.gperf ${CMAKE_CURRENT_BINARY_DIR}/kentities.h KF5Codecs GENERATION_FLAGS "--key-positions=* -D -s 2") +# gperf < 3.1 always adds a "register" keyword to function arguments, +# which itself is removed from C++17, +# so sources including the generated header need to use C++14 only. +# Only kcharsets.cpp is affected, but right now nothing else needs C++17, +# so simply set standard for the while library +# Current version of FindGperf in ECM does not support a version check yet, +# so for now always lower to C++14. +set_target_properties(KF5Codecs PROPERTIES CXX_STANDARD 14) + target_sources(KF5Codecs PRIVATE kcharsets.cpp kcodecs.cpp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/kcharsets.cpp new/kcodecs-5.85.0/src/kcharsets.cpp --- old/kcodecs-5.84.0/src/kcharsets.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/kcharsets.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -733,7 +733,7 @@ d->codecForNameDict.insert("->locale<-", codec); return codec; } - // For a non-empty name, lookup the "dictionnary", in a case-sensitive way. + // For a non-empty name, lookup the "dictionary", in a case-sensitive way. else if (d->codecForNameDict.contains(n)) { return d->codecForNameDict.value(n); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/kcodecs.h new/kcodecs-5.85.0/src/kcodecs.h --- old/kcodecs-5.84.0/src/kcodecs.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/kcodecs.h 2021-08-06 11:00:43.000000000 +0200 @@ -149,7 +149,7 @@ * Use this function if you want the result of the encoding * to be placed in another array and cut down the number of * copy operation that have to be performed in the process. - * This is the preffered method for encoding binary data. + * This is the preferred method for encoding binary data. * * NOTE: the output array is first reset and then resized * appropriately before use, hence, all data stored in the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/kemailaddress.cpp new/kcodecs-5.85.0/src/kemailaddress.cpp --- old/kcodecs-5.84.0/src/kemailaddress.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/kemailaddress.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -281,7 +281,7 @@ // count how many @'s are in the string that is passed to us // if 0 or > 1 take action // at this point to many @'s cannot bail out right away since - // @ is allowed in qoutes, so we use a bool to keep track + // @ is allowed in quotes, so we use a bool to keep track // and then make a judgment further down in the parser bool tooManyAtsFlag = false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/kencodingprober.h new/kcodecs-5.85.0/src/kencodingprober.h --- old/kcodecs-5.84.0/src/kencodingprober.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/kencodingprober.h 2021-08-06 11:00:43.000000000 +0200 @@ -90,7 +90,7 @@ }; /** - * Default ProberType is Universal(detect all possibe encodings) + * Default ProberType is Universal(detect all possible encodings) */ KEncodingProber(ProberType proberType = Universal); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/CharDistribution.h new/kcodecs-5.85.0/src/probers/CharDistribution.h --- old/kcodecs-5.84.0/src/probers/CharDistribution.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/CharDistribution.h 2021-08-06 11:00:43.000000000 +0200 @@ -89,7 +89,7 @@ // The number of characters whose frequency order is less than 512 unsigned int mFreqChars; - // Total character encounted. + // Total character encountered. unsigned int mTotalChars; // Mapping table to get frequency order from char order (get from GetOrder()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/JpCntx.h new/kcodecs-5.85.0/src/probers/JpCntx.h --- old/kcodecs-5.84.0/src/probers/JpCntx.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/JpCntx.h 2021-08-06 11:00:43.000000000 +0200 @@ -69,7 +69,7 @@ virtual int GetOrder(const char *str, unsigned int *charLen) = 0; virtual int GetOrder(const char *str) = 0; - // category counters, each interger counts sequence in its category + // category counters, each integer counts sequence in its category unsigned int mRelSample[NUM_OF_CATEGORY]; // total sequence received diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/LangBulgarianModel.cpp new/kcodecs-5.85.0/src/probers/LangBulgarianModel.cpp --- old/kcodecs-5.84.0/src/probers/LangBulgarianModel.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/LangBulgarianModel.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -16,7 +16,7 @@ namespace kencodingprober { // Character Mapping Table: -// this talbe is modified base on win1251BulgarianCharToOrderMap, so +// this table is modified base on win1251BulgarianCharToOrderMap, so // only number <64 is sure valid const unsigned char Latin5_BulgarianCharToOrderMap[] = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsEUCJPProber.cpp new/kcodecs-5.85.0/src/probers/nsEUCJPProber.cpp --- old/kcodecs-5.84.0/src/probers/nsEUCJPProber.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsEUCJPProber.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -4,8 +4,8 @@ SPDX-License-Identifier: MIT */ -// for japanese encoding, obeserve characteristic: -// 1, kana character (or hankaku?) often have hight frequency of appereance +// for japanese encoding, observe characteristic: +// 1, kana character (or hankaku?) often have high frequency of appearance // 2, kana character often exist in group // 3, certain combination of kana is never used in japanese language diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsEUCJPProber.h new/kcodecs-5.85.0/src/probers/nsEUCJPProber.h --- old/kcodecs-5.84.0/src/probers/nsEUCJPProber.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsEUCJPProber.h 2021-08-06 11:00:43.000000000 +0200 @@ -4,8 +4,8 @@ SPDX-License-Identifier: MIT */ -// for S-JIS encoding, obeserve characteristic: -// 1, kana character (or hankaku?) often have hight frequency of appereance +// for S-JIS encoding, observe characteristic: +// 1, kana character (or hankaku?) often have high frequency of appearance // 2, kana character often exist in group // 3, certain combination of kana is never used in japanese language diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsGB2312Prober.cpp new/kcodecs-5.85.0/src/probers/nsGB2312Prober.cpp --- old/kcodecs-5.84.0/src/probers/nsGB2312Prober.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsGB2312Prober.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -4,8 +4,8 @@ SPDX-License-Identifier: MIT */ -// for S-JIS encoding, obeserve characteristic: -// 1, kana character (or hankaku?) often have hight frequency of appereance +// for S-JIS encoding, observe characteristic: +// 1, kana character (or hankaku?) often have high frequency of appearance // 2, kana character often exist in group // 3, certain combination of kana is never used in japanese language diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsMBCSSM.cpp new/kcodecs-5.85.0/src/probers/nsMBCSSM.cpp --- old/kcodecs-5.84.0/src/probers/nsMBCSSM.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsMBCSSM.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -274,7 +274,7 @@ // To be accurate, the length of class 6 can be either 2 or 4. // But it is not necessary to discriminate between the two since -// it is used for frequency analysis only, and we are validing +// it is used for frequency analysis only, and we are validating // each code range there as well. So it is safe to set it to be // 2 here. static const unsigned int GB18030CharLenTable[] = {0, 1, 1, 1, 1, 1, 2}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsSJISProber.cpp new/kcodecs-5.85.0/src/probers/nsSJISProber.cpp --- old/kcodecs-5.84.0/src/probers/nsSJISProber.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsSJISProber.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -4,8 +4,8 @@ SPDX-License-Identifier: MIT */ -// for S-JIS encoding, obeserve characteristic: -// 1, kana character (or hankaku?) often have hight frequency of appereance +// for S-JIS encoding, observe characteristic: +// 1, kana character (or hankaku?) often have high frequency of appearance // 2, kana character often exist in group // 3, certain combination of kana is never used in japanese language diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsSJISProber.h new/kcodecs-5.85.0/src/probers/nsSJISProber.h --- old/kcodecs-5.84.0/src/probers/nsSJISProber.h 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsSJISProber.h 2021-08-06 11:00:43.000000000 +0200 @@ -6,8 +6,8 @@ SPDX-License-Identifier: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later */ -// for S-JIS encoding, obeserve characteristic: -// 1, kana character (or hankaku?) often have hight frequency of appereance +// for S-JIS encoding, observe characteristic: +// 1, kana character (or hankaku?) often have high frequency of appearance // 2, kana character often exist in group // 3, certain combination of kana is never used in japanese language diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.84.0/src/probers/nsUniversalDetector.cpp new/kcodecs-5.85.0/src/probers/nsUniversalDetector.cpp --- old/kcodecs-5.84.0/src/probers/nsUniversalDetector.cpp 2021-07-03 14:07:38.000000000 +0200 +++ new/kcodecs-5.85.0/src/probers/nsUniversalDetector.cpp 2021-08-06 11:00:43.000000000 +0200 @@ -80,7 +80,7 @@ unsigned int i; for (i = 0; i < aLen; i++) { - // other than 0xa0, if every othe character is ascii, the page is ascii + // other than 0xa0, if every other character is ascii, the page is ascii if (aBuf[i] & '\x80' && aBuf[i] != '\xA0') { // Since many Ascii only page contains NBSP // we got a non-ascii byte (high-byte) if (mInputState != eHighbyte) {
