browse/utils: Reinstate chardet use but only as a fallback
While charset_normalizer
performs usually better than chardet
, it
remains some edge cases where it can fail to detect content encoding
while chardet succeeds.
So try to detect content encoding with chardet as a fallback when charset_normalizer failed.
Edited by Antoine Lambert