From cb58270bf62190e48b05bcddf25405ea695c8500 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 9 Feb 2016 11:19:45 -0800 Subject: [PATCH] Fix comment about getting the right encoding for stdout. --- gramps/grampsapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index 6112a3a55..4b182256c 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -65,8 +65,8 @@ _ = glocale.translation.gettext #------------------------------------------------------------------------- try: - # They're the same using python3 on Win or Linux, but sys.stdout.encoding - # gives the wrong answer on Darwin. + # On Darwin sys.getdefaultencoding() is correct, on Win32 it's + # sys.stdout.enoding, and on Linux they're both right. if mac(): _encoding = sys.getdefaultencoding() else: