Fix binary encoding error on MR diffs
CharlockHolmes does not return an encoding for binary strings and hence we fail when we can't detect this encoding. This prevents the error to happen. A better fix is in https://github.com/brianmario/charlock_holmes/pull/113
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/32670
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
Edited by James Lopez