From c2f9865bb8807c006b5ab12ff7a051168bda9047 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 12 Nov 2017 14:33:08 +0000 Subject: Don't mess with the encoding of extras modules in modulemanager. This fixes installing extras modules such as m_qrcode which contain characters from outside of the Unicode Basic Multilingual Plane. --- modulemanager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modulemanager b/modulemanager index 42566d3b1..bc4619408 100755 --- a/modulemanager +++ b/modulemanager @@ -75,7 +75,7 @@ sub parse_url { } my $mod; - for (split /\n+/, $response->decoded_content) { + for (split /\n+/, $response->content) { s/^\s+//; # ignore whitespace at start next if /^#/; if (/^module (\S+) (\S+) (\S+)/) { @@ -359,7 +359,7 @@ for my $mod (sort keys %todo) { if ($response->is_success) { open(MF, ">src/modules/$mod.cpp") or die "\nFilesystem not writable: $!"; - print MF $response->decoded_content; + print MF $response->content; close(MF); print " - done\n"; } else { -- cgit v1.2.3