1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-17 17:31:31 +00:00
community.general/tests/unit/plugins
Alexei Znamensky bdd3174563
nmcli: use get_best_parsable_locale() to support UTF-8 connection names (#11742)
* nmcli: start locale fix - normalize run_command environ to LANGUAGE=C, LC_ALL=C

Work in progress - issue #10384 (UTF-8 conn_name support) requires deeper
investigation beyond simple locale variable normalization.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* nmcli: use get_best_parsable_locale() to support UTF-8 connection names

Fixes issue where UTF-8 connection names (e.g. Chinese characters) were
corrupted to '????' when LC_ALL=C forced ASCII encoding, causing
connection_exists() to always return False for non-ASCII names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* add changelog fragment for PR #11742

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 15:32:39 +02:00
..
become Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
cache Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
callback Add missing __future__ imports (#11567) 2026-03-11 06:42:08 +01:00
connection Add missing __future__ imports (#11567) 2026-03-11 06:42:08 +01:00
filter Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
inventory replace list(map(...)) with comprehension (#11590) 2026-03-14 08:43:23 +01:00
lookup merge_variables: extended merge capabilities added (#11536) 2026-03-19 22:45:44 +01:00
module_utils test(cmd_runner_fmt): assert that unpack_* functions can handle _ArgFormat objects (#11637) 2026-03-22 15:19:09 +13:00
modules nmcli: use get_best_parsable_locale() to support UTF-8 connection names (#11742) 2026-04-08 15:32:39 +02:00
plugin_utils Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00