bug-lilypond
[Top][All Lists]
Advanced

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

Re: Incorrect point-and-click URIs of files with non-ASCII content on Wi


From: Patrick McCarty
Subject: Re: Incorrect point-and-click URIs of files with non-ASCII content on Windows
Date: Sun, 1 Nov 2009 16:06:36 -0800
User-agent: Mutt/1.5.20 (2009-06-14)

On 2009-11-01, Bertalan Fodor (LilyPondTool) wrote:
> 
> >  3) UTF-8 characters.  In UTF-8 locales, terminals need to know about
> >  the byte offset, so I am using the character count to specify this
> >  offset.  An example would be "3:11:10".
> >
> >The third case is arguably misleading, so maybe it should be changed
> >to use the "3:10:10" instead.  I am okay with either format.  If we
> >want to use "3:10:10" instead, then an additional parameter would be
> >needed to calculate the byte offset.
>
> I hardly believe anyone or anything should care about byte offset.
> LilyPond source files contain UTF-8 characters and not bytes! If a
> terminal/editor doesn't support UTF-8 character streams, than the
> terminal/editor should be fixed.

Well, in its current state, LilyPond is not using "UTF-8 character
streams" for error message output and point-click URIs, so this would
likely require a rewrite.

Do you have any suggestions about how to implement this in C++
(portably)?

-Patrick




reply via email to

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