> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user