[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode chars in scheme?
From: |
Neil Puttock |
Subject: |
Re: Unicode chars in scheme? |
Date: |
Wed, 24 Jun 2009 21:25:38 +0100 |
2009/6/24 Tao Cumplido <address@hidden>:
> 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
- Unicode chars in scheme?, Tao Cumplido, 2009/06/23
- Re: Unicode chars in scheme?, Trevor Daniels, 2009/06/24
- Re: Unicode chars in scheme?, Tao Cumplido, 2009/06/24
- Re: Unicode chars in scheme?, Mark Polesky, 2009/06/24
- Re: Unicode chars in scheme?, Tao Cumplido, 2009/06/24
- Re: Unicode chars in scheme?, Mark Polesky, 2009/06/24
- Re: Unicode chars in scheme?, Tao Cumplido, 2009/06/24
- Re: Unicode chars in scheme?, Mark Polesky, 2009/06/24
- Re: Unicode chars in scheme?, Tao Cumplido, 2009/06/25
- Re: Unicode chars in scheme?,
Neil Puttock <=