Red Hat Bugzilla – Bug 250248
msghack crashes due to Unicode in header
Last modified: 2007-11-30 17:12:12 EST
Description of problem:
Version-Release number of selected component (if applicable):
File "/usr/bin/msghack", line 3
SyntaxError: Non-ASCII character '\xf8' in file /usr/bin/msghack on line 3, but
no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Get the help or otherwise function correctly
The problem is simple, there is a Unicode character in the header crediting one
of the coders which crashes the tool in newer versions of Python.
I'm not sure if msghack is used much. I use it mostly to empty PO files and
create POT file. An alternate might be to extend the Translate Toolkit to do
the functions provided by msghack.
Created attachment 160310 [details]
Fix for encoding
Thanks for the fix! Fixing first in Fedora devel gettext-0.16.1-9.fc8.
May backport it later to F7.