lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spanish Lyrics Error


From: Patrick McCarty
Subject: Re: Spanish Lyrics Error
Date: Tue, 23 Mar 2010 20:12:53 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On 2010-03-23, Jonathan Kulp wrote:
> On Tue, Mar 23, 2010 at 8:32 PM, Gustavo Caicedo <address@hidden> 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.

It might depend on what version of Vim you are using, but I usually
need to run

  :set fileencoding=utf-8

as well.  That, along with Jon's suggestion, should solve your
problem.

-Patrick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]