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
4ba9e5bd
Commit
4ba9e5bd
authored
Jan 27, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1634778: add missing encoding aliases for iso8859_15 and
iso8859_16.
parent
ab49684f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
Lib/email/charset.py
Lib/email/charset.py
+3
-0
Lib/encodings/aliases.py
Lib/encodings/aliases.py
+4
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/email/charset.py
View file @
4ba9e5bd
...
...
@@ -46,6 +46,7 @@ CHARSETS = {
'iso-8859-13'
:
(
QP
,
QP
,
None
),
'iso-8859-14'
:
(
QP
,
QP
,
None
),
'iso-8859-15'
:
(
QP
,
QP
,
None
),
'iso-8859-16'
:
(
QP
,
QP
,
None
),
'windows-1252'
:(
QP
,
QP
,
None
),
'viscii'
:
(
QP
,
QP
,
None
),
'us-ascii'
:
(
None
,
None
,
None
),
...
...
@@ -81,6 +82,8 @@ ALIASES = {
'latin-8'
:
'iso-8859-14'
,
'latin_9'
:
'iso-8859-15'
,
'latin-9'
:
'iso-8859-15'
,
'latin_10'
:
'iso-8859-16'
,
'latin-10'
:
'iso-8859-16'
,
'cp949'
:
'ks_c_5601-1987'
,
'euc_jp'
:
'euc-jp'
,
'euc_kr'
:
'euc-kr'
,
...
...
Lib/encodings/aliases.py
View file @
4ba9e5bd
...
...
@@ -301,6 +301,8 @@ aliases = {
# iso8859_13 codec
'iso_8859_13'
:
'iso8859_13'
,
'l7'
:
'iso8859_13'
,
'latin7'
:
'iso8859_13'
,
# iso8859_14 codec
'iso_8859_14'
:
'iso8859_14'
,
...
...
@@ -312,6 +314,8 @@ aliases = {
# iso8859_15 codec
'iso_8859_15'
:
'iso8859_15'
,
'l9'
:
'iso8859_15'
,
'latin9'
:
'iso8859_15'
,
# iso8859_16 codec
'iso_8859_16'
:
'iso8859_16'
,
...
...
Misc/NEWS
View file @
4ba9e5bd
...
...
@@ -123,6 +123,9 @@ Core and builtins
Library
-------
- Patch #1634778: add missing encoding aliases for iso8859_15 and
iso8859_16.
- Patch #1638243: the compiler package is now able to correctly compile
a with statement; previously, executing code containing a with statement
compiled by the compiler package crashed the interpreter.
...
...
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