2007/7/2, John Mandereau <[EMAIL PROTECTED]>:
To fix this, we must use ugettext instead of gettext in lilylib.py.
Unfortunately, this fix implies that each gettexted string must be
converted from Python internal Unicode to stdout/stderr encoding before
being written to stdout/stderr.
May I commit and push the following patch, that intends to solve all
problems above?
I'm not aware of all the issues, but I believe your story. However,
would it be better to define a encoded_write or similar, ie.
def encoded_write(f, s):
f.write (s.encode (f.encoding))
and perhaps
def log(s):
encoded_write(sys.stderr, s)
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel