lilypond-user
[Top][All Lists]
Advanced

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

Re: UTF-8 encoding problems


From: Graydon
Subject: Re: UTF-8 encoding problems
Date: Sat, 22 Apr 2006 16:42:57 -0400
User-agent: Mutt/1.4.2.1i

On Sat, Apr 22, 2006 at 11:06:16AM -0700, jimmy2 scripsit:
> I am trying to put french accents into my lyrics, and I am able to
> enter these characters in the .ly file, but lilypond is not able to
> process it correctly.  I suspect that my editors (on linux) are not
> saving the file with correct UTF-8 encoding. I tried with nedit, pico,
> and vi.  Does anyone know what is going wrong?

What linux distribution are you using? (and what lilypond, too?)

I've just tried putting some accented characters in the 'composer' and
'arranger' fields on Fedora Core 5 and it worked fine; I would expect
absolutely anything that came out in the last three years to be fine for
utf-8 handling.

Any recent linux distro will be utf-8 by default; console editors (like
nedit, pico, and vim) don't have the option of using any other encoding.
(Well, vim does, but if you'd set that up you'd know it.)

How are you entering the accented characters?  Are you sure they're
being entered as utf-8 and are not being cut-and-pasted from a file in a
different encoding?

If you're using vim, you should be able to use the 'ga' command on a
character to get the encoding, so that (for example) é will show (in the
lower left, if you get out of insert mode and use 'ga' as a command when
the cursor is on the é)

<é> 233, Hex 00e9, Octal 351 

Is that what you're seeing?

What are you seeing in the output?  Blank spaces?  the wrong character?
multiple wrong characters per character?

-- Graydon




reply via email to

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