Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b3d80a21
Commit
b3d80a21
authored
Oct 02, 2014
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
parent
4e286eb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Lib/locale.py
Lib/locale.py
+7
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/locale.py
View file @
b3d80a21
...
...
@@ -850,6 +850,7 @@ locale_alias = {
'az_az.iso88599e'
:
'az_AZ.ISO8859-9E'
,
'be'
:
'be_BY.CP1251'
,
'be@latin'
:
'be_BY.UTF-8@latin'
,
'be_bg.utf8'
:
'bg_BG.UTF-8'
,
'be_by'
:
'be_BY.CP1251'
,
'be_by.cp1251'
:
'be_BY.CP1251'
,
'be_by.microsoftcp1251'
:
'be_BY.CP1251'
,
...
...
@@ -891,6 +892,7 @@ locale_alias = {
'c.ascii'
:
'C'
,
'c.en'
:
'C'
,
'c.iso88591'
:
'en_US.ISO8859-1'
,
'c.utf8'
:
'en_US.UTF-8'
,
'c_c'
:
'C'
,
'c_c.c'
:
'C'
,
'ca'
:
'ca_ES.ISO8859-1'
,
...
...
@@ -1012,6 +1014,7 @@ locale_alias = {
'en_ca'
:
'en_CA.ISO8859-1'
,
'en_ca.iso88591'
:
'en_CA.ISO8859-1'
,
'en_dk'
:
'en_DK.ISO8859-1'
,
'en_dl.utf8'
:
'en_DL.UTF-8'
,
'en_gb'
:
'en_GB.ISO8859-1'
,
'en_gb.88591'
:
'en_GB.ISO8859-1'
,
'en_gb.iso88591'
:
'en_GB.ISO8859-1'
,
...
...
@@ -1050,6 +1053,7 @@ locale_alias = {
'en_zm'
:
'en_ZM.UTF-8'
,
'en_zw'
:
'en_ZW.ISO8859-1'
,
'en_zw.iso88591'
:
'en_ZW.ISO8859-1'
,
'en_zw.utf8'
:
'en_ZS.UTF-8'
,
'eng_gb'
:
'en_GB.ISO8859-1'
,
'eng_gb.8859'
:
'en_GB.ISO8859-1'
,
'english'
:
'en_EN.ISO8859-1'
,
...
...
@@ -1356,6 +1360,7 @@ locale_alias = {
'ks'
:
'ks_IN.UTF-8'
,
'ks_in'
:
'ks_IN.UTF-8'
,
'ks_in@devanagari'
:
'ks_IN.UTF-8@devanagari'
,
'ks_in@devanagari.utf8'
:
'ks_IN.UTF-8@devanagari'
,
'ku_tr'
:
'ku_TR.ISO8859-9'
,
'kw'
:
'kw_GB.ISO8859-1'
,
'kw_gb'
:
'kw_GB.ISO8859-1'
,
...
...
@@ -1551,6 +1556,7 @@ locale_alias = {
'sd@devanagari'
:
'sd_IN.UTF-8@devanagari'
,
'sd_in'
:
'sd_IN.UTF-8'
,
'sd_in@devanagari'
:
'sd_IN.UTF-8@devanagari'
,
'sd_in@devanagari.utf8'
:
'sd_IN.UTF-8@devanagari'
,
'se_no'
:
'se_NO.UTF-8'
,
'serbocroatian'
:
'sr_RS.UTF-8@latin'
,
'sh'
:
'sr_RS.UTF-8@latin'
,
...
...
@@ -1610,6 +1616,7 @@ locale_alias = {
'sr_yu.iso88595'
:
'sr_CS.ISO8859-5'
,
'sr_yu.iso88595@cyrillic'
:
'sr_CS.ISO8859-5'
,
'sr_yu.microsoftcp1251@cyrillic'
:
'sr_CS.CP1251'
,
'sr_yu.utf8'
:
'sr_RS.UTF-8'
,
'sr_yu.utf8@cyrillic'
:
'sr_RS.UTF-8'
,
'sr_yu@cyrillic'
:
'sr_RS.UTF-8'
,
'ss'
:
'ss_ZA.ISO8859-1'
,
...
...
Misc/NEWS
View file @
b3d80a21
...
...
@@ -31,6 +31,8 @@ Core and Builtins
Library
-------
-
Issue
#
20076
:
Added
non
derived
UTF
-
8
aliases
to
locale
aliases
table
.
-
Issue
#
20079
:
Added
locales
supported
in
glibc
2.18
to
locale
alias
table
.
-
Issue
#
22530
:
Allow
the
``
group
()``
method
of
regular
expression
match
objects
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment