runtests.pl: minor cleanup

This commit is contained in:
Viktor Szakats 2025-07-22 23:32:02 +02:00
parent 8a4c68062e
commit cb79471086
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -494,7 +494,7 @@ sub is_utf8_supported {
if($was_defined) {
$old_LC_ALL = $ENV{'LC_ALL'};
}
setlocale(LC_ALL, $ENV{'LC_ALL'} = 'C.UTF-8');
setlocale(LC_ALL, $ENV{'LC_ALL'} = "C.UTF-8");
$result = lc(langinfo(CODESET())) eq "utf-8";
if($was_defined) {
$ENV{'LC_ALL'} = $old_LC_ALL;