On Mon, Nov 2, 2009 at 1:39 PM, Bertalan Fodor (LilyPondTool) <lilypondt...@organum.hu> wrote: > Patrick McCarty wrote: >> Okay, that means mbrtowc() is supported and the preprocessor macro >> HAVE_MBRTOWC is enabled. So my guess was wrong. :-( >> >> I plan on removing this function (due to the FIXME) and use a simpler >> approach instead that should not have these problems. > > For me the first question is how does LC_CTYPE affect mbrtowc on Windows > with UTF-8 files?
I don't know, especially since I'm not sure mbrtowc() is called at all in LilyPond on Windows, but there is not an easy way to verify this. I will attempt to address the mbrtowc() portability issue and the character/byte-offset problem later today (or soonish). Thanks for your patience. -Patrick _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond