There was an error while loading. Please reload this page.
1 parent 3fabc9c commit 1568685Copy full SHA for 1568685
1 file changed
frictionless/detector/detector.py
@@ -216,7 +216,7 @@ def detect_encoding(
216
encoding = detector.result["encoding"] or settings.DEFAULT_ENCODING
217
confidence = detector.result["confidence"] or 0
218
if confidence < self.encoding_confidence:
219
- # low confidence, so we try UTF8
+ # low confidence, so we try default encoding
220
# If decoding fails, we fallback to the detected encoding
221
# despite the low-confidence
222
detected = encoding
0 commit comments