{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1752632708,"commit_time":1753301827,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"1cc8a5235f76e744433cbf28ec98ecb972158387","message":"tests: fix UTF-8 detection, per-test `LC_*` settings, CI coverage\n\n- runtests: fix `codeset-utf8` feature detection. Before this patch it\n  detected if the calling environment had UTF-8 enabled. If not, UTF-8\n  tests were all skipped. After this patch, it detects if UTF-8 is\n  supported by the calling environment regardless of what's currently\n  enabled.\n  Follow-up to 0b70b23ef4d007031bc2ae4fc63d5ed9136bc2b5 #15039\n\n- GHA/linux: sync `codeset-test` to also reset `LC_CTYPE` and\n  `LC_NUMBER`. To give it more spin.\n  Follow-up to c221c0ee5935497168c52686a9d8cc87b45bbca9 #17938\n\n- GHA/macos: fix to actually enable `codeset-test`. Also set `LC_ALL`,\n  which seems necessary to trigger issues.\n  Follow-up to c221c0ee5935497168c52686a9d8cc87b45bbca9 #17938\n\n- tests/data: replace `LC_CTYPE` env with `LC_ALL` in all tests\n  requiring a locale. Also to avoid potential issues with a blank or\n  unset `LC_ALL`, as seen earlier. And to ensure that the override works\n  on all platforms (as tested in CI.)\n  Slight downside is that this now resets the language/culture to `C`.\n  Ref: b4c9982382469398115cc0e3e0747e79db083455 #4743\n  Ref: 23208e330ac0c2164d59971baf79e87c45da1840 #4738\n\n- replace `en_US.UTF-8` with `C.UTF-8` to be language/culture-agnostic.\n\n- TEST-SUITE.md: drop `UTF-8` as a requirement for tests.\n  Tests shall work (or least be skipped) without UTF-8 support.\n\nTests requiring UTF-8 locale:\n165, 962, 963, 964, 965, 966, 967, 1448, 1560, 2046, 2047\nTests requiring UTF-8 locale, but passing without one anyway:\n955, 956, 957, 958, 959, 960, 961, 968, 1034, 1035\n\nSpec 1997: https://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html\nSpec 2008: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html\n\nRef: c221c0ee5935497168c52686a9d8cc87b45bbca9 #17938\nRef: 7cf8414fabc3063cc3d2121eacec4a6daa4164a8\nRef: 4c140a56283703161e5f26ae022bad694a481603\nRef: 28faaacee287b019bcf2961da3bf2f91d331bcbd #2436\nRef: ecd1d020abdae3c3ce3643ddab3106501e62e7c0\n\nCloses #17988\n","parents":["c37e06c642066b6cbf6b3c58278017ad40820bb3"],"tree_hash":"678e210473341f987e68ea46b33f2e41fba8d4b5"}