This commit is contained in:
PyYoshi 2012-08-22 21:48:48 +09:00
parent e10068abc8
commit a1a83d864c

View file

@ -13,4 +13,5 @@ def detect(msg):
"confidence": float "confidence": float
} }
""" """
# TODO: Unicode t = u"あいうえお" があった時の対処 "isinstance(t,unicode) == True"
return _cchardet.detect_with_confidence(msg) return _cchardet.detect_with_confidence(msg)