Skip to content

WIP: Encode all diff data into UTF-8 to avoid mixing with ASCII-8BIT

If you produce a diff that is encoded with a mix of UTF-8 and ASCII-8BIT, Rails will complain with a "500 Encoding Error". See omnibus-gitlab#778 (closed).

CharlockHolmes can return an empty encoding for binary files.

Merge request reports