Fix commit message in non-UTF-8 encoding may be shown corrupted.
What does this MR do?
Fix commit message in non-UTF-8 encoding may be shown corrupted.
Are there points in the code the reviewer needs to double check?
no
Why was this MR needed?
It fixes UI bug.
Screenshots (if relevant)
Issue
fixed with this MR issue
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
Internationalization required/considered
What are the relevant issue numbers?
P.S. Tests fail, but I don't see anything related with the change made in this patch (And I'm not sure that tests passed BEFORE this patch). Besides, I've rebased [this patch onto v10.1.1] (https://gitlab.com/ashumkin/gitlab-ce/tree/commit-message-encoding-against-10.1.1) and have run tests on that commit and there were related to EE and timeout failures. This makes me think I haven't break anything
Edited by Alexey Shumkin