test1560: set locale/codeset with LC_ALL (was: LANG), test in CI

To fix running test 1560 when `LC_ALL` is set to something unexpected
(e.g. `C`). Also syncing it with the rest of tests.

Also:
- GHA/linux: enable `libidn2` in more jobs.
  Also to enable test 1560 reproducing this issue in more jobs.
- GHA/linux: run tests with `LC_ALL=C` in one of the jobs.
- GHA/linux: switch to the non-deprecated package name for libidn2.
- GHA/macos: run tests with non-default locale settings in one job.
- GHA/macos: enable AppleIDN in that job.

Ref: https://github.com/curl/curl/pull/17933#issuecomment-3074582840
Follow-up to f27262b179 #10196

Closes #17938
This commit is contained in:
Viktor Szakats 2025-07-15 21:37:51 +02:00
parent ee232917dc
commit c221c0ee59
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 16 additions and 10 deletions

View file

@ -13,7 +13,7 @@ urlapi
none
</server>
<setenv>
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
</setenv>
<features>
file