Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix mangled non-english characters in pygettext.py
  • Loading branch information
JosephSBoyle committed Mar 8, 2023
commit 0e870c0a4f5fbac0a31dd6e400ab926b965a9efc
4 changes: 2 additions & 2 deletions Tools/i18n/pygettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Minimally patched to make it even more xgettext compatible
# by Peter Funk <pf@artcom-gmbh.de>
#
# 2002-11-22 J�rgen Hermann <jh@web.de>
# 2002-11-22 Jürgen Hermann <jh@web.de>
Comment thread
AlexWaygood marked this conversation as resolved.
Outdated
# Added checks that _() only contains string literals, and
# command line args are resolved to module lists, i.e. you
# can now pass a filename, a module or package name, or a
Expand Down Expand Up @@ -207,7 +207,7 @@ def make_escapes(pass_nonascii):
global escapes, escape
if pass_nonascii:
# Allow non-ascii characters to pass through so that e.g. 'msgid
# "H�he"' would result not result in 'msgid "H\366he"'. Otherwise we
# "Höhe"' would result not result in 'msgid "H\366he"'. Otherwise we
Comment thread
AlexWaygood marked this conversation as resolved.
Outdated
# escape any character outside the 32..126 range.
mod = 128
escape = escape_ascii
Expand Down