|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5893 weblinks: Fix encoding of link texts |
Date: | Sun, 12 Apr 2020 13:23:55 -0000 |
commit 23dbc2090b1f45ae26c7f88af6945bde00cb2ddd Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Sun Apr 12 14:11:37 2020 +0200 weblinks: Fix encoding of link texts
[issues:#5893] weblinks: Fix encoding of link texts
Status: Fixed
Labels: Fixed_2_21_1
Created: Sun Apr 12, 2020 12:18 PM UTC by Jonas Hahnfeld
Last Updated: Sun Apr 12, 2020 01:23 PM UTC
Owner: Jonas Hahnfeld
weblinks: Fix encoding of link texts
When switching to Python 3, I added the call of .encode('utf-8') to
fix the build with Python 3.5. This converts all link texts into
binary encoding, enclosed by b'...'. The correct fix is to force
utf-8 encoding for sys.stdout.
See e0c78a4c71 ("Use codecs.open() to decode as utf-8") for more
details on this issue and how the default changes with Python 3.7.
http://codereview.appspot.com/563860043
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |