On Wed, Mar 16, 2011 at 09:34:24AM +0200, Dmytro O. Redchuk wrote:
> On Wed 16 Mar 2011, 08:23 Francisco Vila wrote:
> > diff --git a/python/lilylib.py b/python/lilylib.py
> > index 3bf77f6..4be48e7 100644
> > --- a/python/lilylib.py
> > +++ b/python/lilylib.py
> > @@ -48,7 +48,7 @@ underscore = _
> >  # Maybe guess encoding from LANG/LC_ALL/LC_CTYPE?
> > 
> >  def encoded_write(f, s):
> > -    f.write (s.encode (f.encoding or 'utf_8'))
> > +    f.write (s.encode ('utf_8'))

Note that this patch breaks compiling.

> This is related to at least 1054 and 1073, by the way.

Yes.  Fixing 1073 would take a skilled python programmer about 2
minutes.  For a competent (but not skilled) python programmer like
me, it would be about 5 minutes.

If somebody doesn't have any experience with python whatsoever,
I'll admit that it'd probably be 2-5 hours.

Cheers,
- Graham

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to