4bcf65
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></jeremy@jcline.org>