Silvan wrote: > WARNING: Invalid utf8 octet sequence in string [...] > > WTF? I guess there's some unexpected stuff in the .mid file I > imported. I'm not going to file a bug and upload the file because > it's music ripped out of an old Sierra game.
I think your error is probably caused by an invalid utf8 octet sequence in a string. I think the basic problem here is that the MIDI file contains some sort of event with text in it, and we have no way of knowing what character encoding was intended for that text -- so we just assume utf8 (which is almost always going to be wrong in practice, but it's easy and theoretically universal). Super-low-priority feature request here: http://sourceforge.net/tracker/index.php?func=detail&aid=708131&group_id=4932&atid=354932 What I don't quite understand is why you should be seeing those errors at the point of loading the file. The error is generated by XmlExportable::encode in base/XmlExportable.C, and that's generally only used when exporting XML, most likely to a .rg file. Chris ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Rosegarden-devel mailing list [EMAIL PROTECTED] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
