lilypond-user
[Top][All Lists]
Advanced

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

Re: "Programming error" message


From: Werner LEMBERG
Subject: Re: "Programming error" message
Date: Sun, 28 Feb 2010 20:10:41 +0100 (CET)

> It would be very simple to check for invalid UTF-8, since we can use
> GLib's g_utf_validate() function.  In fact, Pango uses this same
> function in pango_layout_set_text().

Good to know.

> What if we output a message like this instead:
> 
>   warning: invalid UTF-8 string found at row 3, column 10

This is probably even better than outputting the problematic string.


    Werner




reply via email to

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