From 62a1a9baa00573c1a5c85229fdaaa9b5a7c0a11b Mon Sep 17 00:00:00 2001 From: plk Date: Fri, 29 Mar 2024 16:24:01 +0100 Subject: [PATCH] Looking at #474 --- lib/Biber/Config.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Biber/Config.pm b/lib/Biber/Config.pm index bfb53cb3d..e99fe1be9 100644 --- a/lib/Biber/Config.pm +++ b/lib/Biber/Config.pm @@ -224,6 +224,9 @@ sub _initopts { } } + # Sanitse log file name to NFC + $biberlog = NFC($biberlog); + # cache meta markers since they are referenced in the oft-called _get_handler $CONFIG_META_MARKERS{annotation} = quotemeta(Biber::Config->getoption('annotation_marker')); $CONFIG_META_MARKERS{namedannotation} = quotemeta(Biber::Config->getoption('named_annotation_marker')); @@ -308,7 +311,7 @@ sub _initopts { $logger->info("This is Biber $vn$tool") unless Biber::Config->getoption('nolog'); $logger->info("Config file is '" . NFC($opts->{configfile}) . "'") if $opts->{configfile}; - $logger->info("Logfile is '" . NFC($biberlog) . "'") unless Biber::Config->getoption('nolog'); + $logger->info("Logfile is '$biberlog'") unless Biber::Config->getoption('nolog'); if (Biber::Config->getoption('debug')) { $screen->info("DEBUG mode: all messages are logged to '$biberlog'")