Detect encodings with cchardet which is much faster (with fallback to ch...

...ardet).
Why did this test need to change?