-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
This file https://github.com/linq2db/linq2db/raw/5e26fa1693208b92b0791dff445ab7b42e79fb1b/Data/Northwind.sqlite is not detected correctly as binary
>>> is_binary('Northwind.sqlite')
DEBUG:binaryornot.helpers:nontext_ratio1: 0.9697265625
DEBUG:binaryornot.helpers:nontext_ratio2: 0.98828125
DEBUG:binaryornot.helpers:is_likely_binary: True
DEBUG:binaryornot.helpers:detected_encoding: {'confidence': 0.9377949365075317, 'language': 'Bulgarian', 'encoding': 'windows-1251'}
DEBUG:binaryornot.helpers:success: decodable_as_unicode: True
DEBUG:binaryornot.helpers:failure: decodable_as_unicode: True
False
IMHO it should be a binary
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels