Of course, one advantage of using ASCII control separators is that they are
by definition valid Unicode control separators.


On Sat, Jul 19, 2014 at 1:44 PM, Keith Medcalf <[email protected]> wrote:

> >ASCII 30 is Record Separator.  Use this where you might expect a newline.
> >ASCII 31 is Unit Separator.    Use this where you might expect a comma.
>
> >Files which used these codes (together with 28 and 29) used to be called
> >'Control Separated Data' files.  So you used to see files with names like
> >SENSOR6.CSD .  In SIXBIT, of course.
>
> >By the way, two US characters together indicates a blank field.  But two
> >RS characters together does not indicate a blank row.  You carry on as if
> >any number of RS together are all one RS.  So you can delete a record
> >without having to change the length of a file by replacing all the
> >characters in the record with RS.  This was useful when removing the
> >middle of a file could occupy a disk or tape drive for 20 minutes.
>
> >And yes, I'm old enough that I used to write programs that ran on
> >mainframes that used these codes.
>
> Fortunately the EBCDIC codes for IFS IGS IRS IUS are the same as the ASCI
> FS GS RS US respectively.  Depends on the species of dinosaur in your pen :)
>
> >Simon.
>
>
>
>
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Scott Robison
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to