We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf128a3 + fc74b05 commit 7eecc6eCopy full SHA for 7eecc6e
lib/CPAN/Reporter/Config.pm
@@ -154,7 +154,7 @@ sub _configure {
154
$CPAN::Frontend->myprint(
155
"\nCPAN::Reporter: writing config file to '$config_file'.\n"
156
);
157
- if ( $config->write( $config_file ) ) {
+ if ( $config->write( $config_file, "utf8" ) ) {
158
return $config->{_};
159
}
160
else {
@@ -483,7 +483,7 @@ sub _normalize_id_file {
483
484
sub _open_config_file {
485
my $config_file = _get_config_file();
486
- my $config = Config::Tiny->read( $config_file )
+ my $config = Config::Tiny->read( $config_file, "utf8" )
487
or $CPAN::Frontend->mywarn("CPAN::Reporter: couldn't read configuration file " .
488
"'$config_file': \n" . Config::Tiny->errstr() . "\n");
489
return $config;
0 commit comments