2009/6/24 Tao Cumplido <[email protected]>:
> I think I found out what happens.
> Guile doesn't seem to use UTF-8 encoding (yet) which probably leads to this
> strange results.
> http://www.gnu.org/software/guile/manual/html_node/Conversion-to_002ffrom-C.html#Conversion-to_002ffrom-C
Have you tried using ly:wide-char->utf-8 to deal with this?
tf =
#(define-music-function (parser location music) (ly:music?)
(let ((es (ly:music-property music 'elements)))
(ly:music-set-property! (cadr es) 'text
(ly:wide-char->utf-8 #x00a9))) music)
It's used internally for the markup command \char.
Regards,
Neil
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user