summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-22 07:55:20 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-22 07:55:20 (GMT)
commit05029d56f417a63311139d438840d44d06e3f6e8 (patch)
tree3f69566aa555ee7d9dedaf37a2713d8e9a13d9b1
parent909acb8c633fb888de2da75e6693326343284ac8 (diff)
downloadcpython-05029d56f417a63311139d438840d44d06e3f6e8.zip
cpython-05029d56f417a63311139d438840d44d06e3f6e8.tar.gz
cpython-05029d56f417a63311139d438840d44d06e3f6e8.tar.bz2
Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
-rw-r--r--Lib/idlelib/NEWS.txt4
-rw-r--r--Lib/idlelib/aboutDialog.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 6c41e28..00d5005 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -30,7 +30,7 @@ What's New in IDLE 3.5.2?
Original patch by Saimadhav Heblikar.
- Issue #18410: Add test for IDLE's search dialog.
- Original patch by Westley Martínez.
+ Original patch by Westley Martínez.
- Issue #21703: Add test for undo delegator.
Original patch by Saimadhav Heblikar .
@@ -48,7 +48,7 @@ What's New in IDLE 3.5.2?
- Issue #25507: fix incorrect change in IOBinding that prevented printing.
Augment IOBinding htest to include all major IOBinding functions.
-- Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION
+- Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION
MARK in README.txt and open this and NEWS.txt with 'ascii'.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py
index 3112e6a..0457c43 100644
--- a/Lib/idlelib/aboutDialog.py
+++ b/Lib/idlelib/aboutDialog.py
@@ -130,7 +130,7 @@ class AboutDialog(Toplevel):
self.display_file_text('About - Readme', 'README.txt', 'ascii')
def ShowIDLENEWS(self):
- self.display_file_text('About - NEWS', 'NEWS.txt', 'ascii')
+ self.display_file_text('About - NEWS', 'NEWS.txt', 'utf-8')
def display_printer_text(self, title, printer):
printer._Printer__setup()