Edit: chardetect