The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

This is cchardet version 1.0.0 with the following patches:
diff -Naur cchardet-1.0.0.old/src/ext/libcharsetdetect/charsetdetect.cpp cchardet-1.0.0.new/src/ext/libcharsetdetect/charsetdetect.cpp
--- cchardet-1.0.0.old/src/ext/libcharsetdetect/charsetdetect.cpp 2014-08-27 02:16:28.000000000 +0200
+++ cchardet-1.0.0.new/src/ext/libcharsetdetect/charsetdetect.cpp 2018-03-15 04:42:38.991887527 +0100
@@ -1,4 +1,3 @@
-#include <iostream>
#include "charsetdetect.h"
#include "charsetdetectPriv.h"
@@ -91,4 +90,4 @@
delete ((Detector*)csd);
return result;
}
-//*/
\ No newline at end of file
+//*/
diff -Naur cchardet-1.0.0.old/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsUniversalDetector.cpp cchardet-1.0.0.new/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsUniversalDetector.cpp
--- cchardet-1.0.0.old/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsUniversalDetector.cpp 2014-08-27 02:16:28.000000000 +0200
+++ cchardet-1.0.0.new/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsUniversalDetector.cpp 2018-03-15 04:42:45.715658627 +0100
@@ -45,8 +45,6 @@
#include "nsEscCharsetProber.h"
#include "nsLatin1Prober.h"
-#include <iostream>
-
nsUniversalDetector::nsUniversalDetector(PRUint32 aLanguageFilter)
{
mDone = PR_FALSE;
@@ -336,4 +334,4 @@
}
return;
}
-//*/
\ No newline at end of file
+//*/