9742fb7e53
When a media file contains valid UTF-8, git-remote-mediawiki tried to be too clever about the encoding, and the call to utf8::downgrade() on the downloaded content was failing with Wide character in subroutine entry at git-remote-mediawiki line 583. Instead, use $response->decode() to apply decoding linked to the Content-Encoding: header, and return the content without attempting any charset decoding. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
bin-wrapper | ||
Git | ||
t | ||
.gitignore | ||
.perlcriticrc | ||
git-mw.perl | ||
git-remote-mediawiki.perl | ||
git-remote-mediawiki.txt | ||
Makefile |