1. medoc
  2. uchardet-enhanced

Source

uchardet-enhanced / libcharsetdetect / trchardet.c

Diff from to

File libcharsetdetect/trchardet.c

  • Ignore whitespace
 #include "charsetdetect.h"
 #include "stdio.h"
 
-#define BUFFER_SIZE 128
+#define BUFFER_SIZE 100*1024
 
 int main(int argc, const char * argv[]) {
     csd_t csd = csd_open();
 	    // Already have enough data
 	    break;
 	}
+	// Only send one buffer actually, for testing
+	break;
     }
     
     const char *result = csd_close(csd);