We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0734a6 commit 2707ba6Copy full SHA for 2707ba6
1 file changed
Tools/i18n/msgfmt.py
@@ -161,8 +161,8 @@ def make(filename, outfile):
161
if not msgid:
162
# Filter out POT-Creation-Date
163
# See issue #131852
164
- msgstr = ''.join(line for line in msgstr.decode(encoding).splitlines(True)
165
- if 'POT-Creation-Date' not in line).encode(encoding)
+ msgstr = b''.join(line for line in msgstr.splitlines(True)
+ if not line.startswith(b'POT-Creation-Date'))
166
167
# See whether there is an encoding declaration
168
p = HeaderParser()
0 commit comments