|
Post by tenochtitlanuk on Nov 27, 2020 17:06:26 GMT -5
The Linux LB ( at least- haven't tried MS version) gets confused over CR and LF conventions. Took me ages to see what was happening here.
I read a text section at the beginning of a long file. It uses x0A as separator. I save it back to a new file. The x0A are changed to x0D!
The next 750000 bytes are pixel triads. Not sure if any that happen to have values of 10 or 13 also get changed!
It's also a nuisance not having a working lof() or word$(). Lof() I can bypass since I know section lengths. Word$() I wrote a function to do.
|
|
|
Post by Carl Gundel on Nov 27, 2020 19:27:00 GMT -5
The Linux LB ( at least- haven't tried MS version) gets confused over CR and LF conventions. Took me ages to see what was happening here. I read a text section at the beginning of a long file. It uses x0A as separator. I save it back to a new file. The x0A are changed to x0D!
The next 750000 bytes are pixel triads. Not sure if any that happen to have values of 10 or 13 also get changed! It's also a nuisance not having a working lof() or word$(). Lof() I can bypass since I know section lengths. Word$() I wrote a function to do. Interesting. Probably the file encoder is trying to be too clever, but I can write a custom one if need be.
|
|