mirror of
https://github.com/curl/curl.git
synced 2026-06-06 16:44:16 +03:00
runtests.pl: use C.UTF-8
This commit is contained in:
parent
7f13b0c9a1
commit
1abbdb2b06
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'} = 'en_US.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