4bcf65f
Handle empty files in detect_encodings If there's no data, chardet returns ``None``. This just returns ASCII with 100% confidence if the file is empty. Signed-off-by: Jeremy Cline <jeremy@jcline.org>