mirror of
https://github.com/curl/curl.git
synced 2026-07-27 23:33:08 +03:00
runtests.pl: minor cleanup
This commit is contained in:
parent
8a4c68062e
commit
cb79471086
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue