Browse Source

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.
Peter Powell 1 year ago
parent
commit
c2f9865bb8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modulemanager

+ 2
- 2
modulemanager View File

@@ -75,7 +75,7 @@ sub parse_url {
75 75
 	}
76 76
 
77 77
 	my $mod;
78
-	for (split /\n+/, $response->decoded_content) {
78
+	for (split /\n+/, $response->content) {
79 79
 		s/^\s+//; # ignore whitespace at start
80 80
 		next if /^#/;
81 81
 		if (/^module (\S+) (\S+) (\S+)/) {
@@ -359,7 +359,7 @@ for my $mod (sort keys %todo) {
359 359
 
360 360
 	if ($response->is_success) {
361 361
 		open(MF, ">src/modules/$mod.cpp") or die "\nFilesystem not writable: $!";
362
-		print MF $response->decoded_content;
362
+		print MF $response->content;
363 363
 		close(MF);
364 364
 		print " - done\n";
365 365
 	} else {