On Tue, Mar 23, 2010 at 8:32 PM, Gustavo Caicedo <[email protected]> wrote: > Not sure what you mean. I use vim. > > user:$ file /mnt/sda1/opus/1a_arriba-los-corazones.ly > /mnt/sda1/opus/1a_arriba-los-corazones.ly: ASCII text > > I guess it's set to ASCII. Is this the problem you're talking about? >
Yes. that's it. Open up your file in vim and do this command: :set encoding=utf-8 Then save and exit. Then run the "file" command and see if it says "utf-8" instead of ASCII. Once it has UTF-8 encoding I predict your characters will appear correctly. When I do this, the file has to have a utf-8 character (á or ñ for example) in the file before it'll say utf-8 in the "file" command. Jon > On Tue, Mar 23, 2010 at 20:58, Jonathan Kulp <[email protected]> wrote: >> >> On Tue, Mar 23, 2010 at 7:42 PM, Gus <[email protected]> wrote: >> > Hello, >> > >> > I am trying to add lyrics in Spanish to a song but I can't use the >> > Spanish >> > specific characters like the "ñ" and the "á" because I get an error: >> > >> > user:$ lilypond 1a_arriba-los-corazones.ly >> > GNU LilyPond 2.12.2 >> > Processing `1a_arriba-los-corazones.ly' >> > Parsing... >> > Interpreting music... [8][16][24][32] >> > Preprocessing graphical objects... >> > programming error: FT_Get_Glyph_Name () error: invalid argument >> > continuing, cross fingers >> > programming error: Glyph has no name, but font supports glyph naming. >> > Skipping glyph U+FFFFFFFF, file >> > >> > /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf >> > continuing, cross fingers >> > Finding the ideal number of pages... >> > Fitting music on 1 page... >> > Drawing systems... >> > Layout output to `1a_arriba-los-corazones.ps'... >> > Converting to `./1a_arriba-los-corazones.pdf'... >> > >> > Thanks. >> > >> > Gus >> > >> >> Check to make sure your source file has UTF-8 encoding and re-compile. >> I use foreign characters like his frequently without errors. If you >> still have errors, post a minimal example for us. >> >> Jon >> >> >> -- >> Jonathan Kulp >> http://www.jonathankulp.com > > -- Jonathan Kulp http://www.jonathankulp.com _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
