From d360ee95763c9d1480eae9e350641f02d692dc9b Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Thu, 5 Jul 2012 12:12:18 +0900 Subject: [PATCH] add todo --- src/cchardet/cchardet.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cchardet/cchardet.pyx b/src/cchardet/cchardet.pyx index f59b138..02cb15b 100644 --- a/src/cchardet/cchardet.pyx +++ b/src/cchardet/cchardet.pyx @@ -33,6 +33,7 @@ def detect(char *msg): return csd_close(csd) def detect_with_confidence(char *msg): + # TODO: fix "sometimes, to output invalid confidence value" bug. cdef csd_t csd = csd_open() cdef int length = strlen(msg) cdef int result = csd_consider(csd, msg, length)