From: Matthias Klose Date: Sun, 1 Dec 2024 12:12:57 +0000 (+0200) Subject: locale-module X-Git-Tag: archive/raspbian/3.9.2-1+rpi1+deb11u2^2~65 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=736dc1933874baf298c5151dbdb033a43a25e131;p=python3.9.git locale-module # DP: * Lib/locale.py: # DP: - Don't map 'utf8', 'utf-8' to 'utf', which is not a known encoding # DP: for glibc. # DP: * Lib/locale.py: # DP: - Don't map 'utf8', 'utf-8' to 'utf', which is not a known encoding # DP: for glibc. Gbp-Pq: Name locale-module.diff --- diff --git a/Lib/locale.py b/Lib/locale.py index 1a4e9f6..dfcfba5 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -1409,8 +1409,8 @@ locale_alias = { 'ug_cn': 'ug_CN.UTF-8', 'uk': 'uk_UA.KOI8-U', 'uk_ua': 'uk_UA.KOI8-U', - 'univ': 'en_US.utf', - 'universal': 'en_US.utf', + 'univ': 'en_US.UTF-8', + 'universal': 'en_US.UTF-8', 'universal.utf8@ucs4': 'en_US.UTF-8', 'unm_us': 'unm_US.UTF-8', 'ur': 'ur_PK.CP1256',