Staging instance, all changes can be removed at any time

Skip to content

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

Merge request reports

Loading