[Info-vax] RMS internals?
P. Sture
paul.nospam at sture.ch
Mon Aug 10 12:07:27 EDT 2009
In article <4a7e95ac$0$300$14726298 at news.sunsite.dk>,
"R.A.Omond" <Roy.Omond at BlueBubble.UK.Com> wrote:
> JF Mezei wrote:
>
> > If your client transfered in binary mode, you would have raw data with
> > CR-LFs terminating records. (or whatever line termination sequence
> > windows uses). It would be easier to parse since there would be no RMS
> > interpretation of the data.
>
> Oh dear, oh dear ... you've just shown the inherent problem with
> mixing binary data with explicit record terminators.
>
> Yes, you probably *will* come across the "record terminator"
> that is *not* the record terminator.
>
> One of my big clients got caught by that recently.
And "interestingly" I recently discovered that Apple's spreadsheet
"Numbers" outputs CSV records with a <CR><LF> terminator, but the odd
embedded <LF> can fool various OS X utilities into thinking the records
are <LF> terminated.
I've written my own utility to sort that out. Oh, and despite a
recommendation to use UTF8 I found somewhere in the Apple development
documentation, TextEdit and various other apps default to MacOSRoman.
--
Paul Sture
More information about the Info-vax
mailing list