On Tue 05 Mar 2002 at 11:46AM -0600, Christian Cepel wrote: > I'm a bit confused, reading through the documentation available online. > > Our first task in development is of course to parse an abc file. I'm > trying to figure out, per the 1.6 standard, WHAT EXACTLY the _approved_ > linefeed/newline character, and encoding are for abc. >
The problem is that there is no standard for the line separator in text files (or to be more precise, different OS's use different standards). The way round this is to allow any of the following as the separator <lf> <cr> <lf><cr> <cr><lf> If you write the file out again, either adopt a standard format or leave things as they are. The use of 8-bit ascii in abc is limited to text fields (e.g. Composer, Title) where they might have been used for special characters. They are not used in the abc itself, so you should probably generate a warning if you come across one there. James Allwright To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
