mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 11:19:00 +00:00
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.
* 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.
* add changelog fragment for PR #11742
---------
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 8852-snmp-facts-pysnmp7.yml | ||
| 10786-jira-cloud-search.yml | ||
| 11664-mssql-named-instance-port.yml | ||
| 11681-pacman-root-cachedir-config.yml | ||
| 11688-flatpak-fix-runtime-removal.yml | ||
| 11689-composer-create-project-idempotent.yml | ||
| 11698-ipa-failed-response.yml | ||
| 11717-fix-error-dnsttl.yml | ||
| 11721-xenserver-guest-codeqa.yml | ||
| 11728-opendj_backendprop-cmdrunner.yml | ||
| 11738-run-command-locale-group3-batch1.yml | ||
| 11740-run-command-locale-group3-batch2.yml | ||
| 11741-run-command-locale-group3-batch3.yml | ||
| 11742-run-command-locale-nmcli.yml | ||