diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-12 14:33:08 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-12 14:33:08 +0000 |
commit | c2f9865bb8807c006b5ab12ff7a051168bda9047 (patch) | |
tree | 409cfe68fdff1026e1914ac7645226002a218dee /modulemanager | |
parent | a137eb1c2649e702efee7cb1a50b4da467f9d4bd (diff) |
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.
Diffstat (limited to 'modulemanager')
-rwxr-xr-x | modulemanager | 4 |
1 files 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 { |