Skip to content

Detect patch character encoding dynamically

Major Hayden requested to merge github/fork/major/chardet-detect-encoding into master

Most patches are plain ASCII, but some are ISO-8859-1 and some are UTF-8. We must detect the encoding before we can decode the byte string and apply regularly expressions to the patch text.

Signed-off-by: Major Hayden major@redhat.com

Merge request reports