Hi.

Now i have this:

$ lilypond-book
Traceback (most recent call last):
  File "/home/dor/lilypond/usr/bin/lilypond-book", line 2215, in ?
    main ()
  File "/home/dor/lilypond/usr/bin/lilypond-book", line 2146, in main
    files = do_options ()
  File "/home/dor/lilypond/usr/bin/lilypond-book", line 2139, in do_options
    opt_parser.print_help ()
  File "/home/dor/lilypond/usr/lib/python2.4/optparse.py", line 1535, in 
print_help
    file.write(self.format_help())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 326-331: 
ordinal not in range(128)


And after changing line 1535 like this:
 -         file.write(self.format_help())
 +         # yes, i do have UTF-8:
 +         file.write(self.format_help().encode('utf-8'))

i have got normal output.

First, i am not sure, probably this is the problem of my installation.
So, please, i anyone can verify this --- *please do*!

Second, this must be wrong way .)

-- 
  Dmytro O. Redchuk



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

Reply via email to