L
Luuk
but it's close enough for government work,
hopefully you live in another country than i do....
but it's close enough for government work,
Ken Wesson said:Who asked you for your opinions of others here?
You're one to talk about provincialism. Who the hell uses these ancient
museum pieces any more?
Yes, and it was a good explanation. Unfortunately, I don't think he
understood the explanation, nor do I think he will understand further
clarification. I think it more likely that the harder anyone tries to
explain to him these points, the more dug in his heels will be.
To do otherwise would necessarily require an admission that there's no single
"text file" format, and that even if there were, ASCII or any of the
single-byte derivatives thereof ain't it. I don't see any way such an
admission would ever be produced.
You know, you sound exactly like a character who surfaced in a Y2KThere is nothing at all prominent about those IBM dinosaurs. They may
have been prominent 30 years ago, but not now.
Ken said:Who asked you for your opinions of others here?
You're one to talk about provincialism. Who the hell uses these ancient
museum pieces any more?
There is nothing at all prominent about those IBM dinosaurs. They may
have been prominent 30 years ago, but not now.
Actually I find that, nowadays, lots of text files on Windows are so-called
'ANSI' (mostly CP-1252) or 'Unicode' (usually meaning UTF-16 with BOM).
Even on my ancient XP boxes, Notepad offers only ANSI, Unicode, Unicode
big-endian and UTF-8. Wordpad offers RTF, Text-Document (turns out to be
CP-1252), Text-Document DOS format (turns out to be CP-850) and Unicode. No
ASCII.
"Record formats" are not relevant here,
nor was someone else's concern
about compressed formats -- the OP clearly said "a text file", by which
is generally understood flat ASCII with CR, LF, or CRLF as line delimiter.
OpenVMS supports many record formats, but the "native" one for
text files is VAR: A two-byte binary count, the payload characters,
and if necessary a padding byte to make the total byte count even.
Obsolete systems do not interest me.
Since those days, the world has
standardized on ASCII flat files for text files.
[...]
Obsolete systems do not interest me.
then…
Since those days, the world has standardized on ASCII flat files for
text files.
LOL!
Windows text files are flat ASCII files (with CRLF line ends).
Mac text
files are flat ASCII files (with CR line ends). Unix text files are flat
ASCII files (with LF line ends).
And that exhausts 99.99% of the
operating system market share right there, if not more,
I can't remember the last time I had to interoperate with any machine
that had anything other than standard ASCII as the native format for text
files. It's gotta be decades.
Used by "obsolete systems". A key point in my amusement.
There is a single text file format: lines of characters in some
encoding, terminated by an end-of-line sequence which is distinguishable
from any other characters.
It's merely the case that some current mainframes, and some obscure or
historical systems, do not store text in text files!
Well, these days we use the 8th bit for accented characters instead of
just wasting it.
Technically it's not your granddaddy's ASCII with that
in use, but it's close enough for government work, and certainly close
enough not to mess with using tests for CR/LF to detect line boundaries.
2011-02-24 15:19, Jussi Piitulainen skrev:Ken said:On Thu, 24 Feb 2011 21:23:34 +0800, Peter Duniho wrote:
On 2/24/11 9:06 PM, Ken Wesson wrote:
[...]
Obsolete systems do not interest me.
then…
Since those days, the world has standardized on ASCII flat files
for text files.
LOL!
Windows text files are flat ASCII files (with CRLF line ends). Mac
text files are flat ASCII files (with CR line ends). Unix text files
are flat ASCII files (with LF line ends). And that exhausts 99.99%
of the operating system market share right there, if not more, not
counting smartphones which are all too modern to be using weird
legacy formats for text files.
I can't remember the last time I had to interoperate with any
machine that had anything other than standard ASCII as the native
format for text files. It's gotta be decades.
I remember when we used a seven-bit character code to write my native
language. We could toggle the way we viewed the character codes where
we had put those characters that were not in ASCII. It was either
brackets and braces or those letters, but never both.
V{nkyr{-{{kk|si{. It's not a happy memory.
I have the same experience. C code wasn't very readable with "Swedish
ASCII". At least Finnish doesn't use "Ã¥", except when quoting Swedish words.
That's why we now actually use that 8th bit for something useful, if need
be.
Windows hasn't used ASCII in decades.
Ah, the warm blanket of provincialism.
Yep.
On the IBM i machines (formerly i Series, formerly System i, formerly
AS/400, successor to the System/3x), using the default filesystem, a
text "file" is actually a series of records in a "member" of a
"physical file". The i operating system hides implementation details,
but access to the contents of the "file" is record-oriented, not
byte-oriented.
In the alternate Hierarchical File System supported by the i machines
for POSIX compatibility, text files are byte-oriented, but usually
EBCDIC, not ASCII.
On IBM and other EBCDIC mainframe systems, there are a variety of
formats for text files, but flat byte-oriented ASCII isn't one of
them, unless you're running Linux.
Who asked you for your opinions of others here?
You're one to talk about provincialism. Who the hell uses these ancient
museum pieces any more?
There is nothing at all prominent about those IBM dinosaurs. They may
have been prominent 30 years ago, but not now.
Fine, then -- corporate America and home computers in America then.
Tell that to the many thousands of organizations that still use them.
And the majority of business transactions still runs on IBM mainframe
and midrange systems, and similar offerings from other companies.
IBM had just shy of $100B in sales last year. A good chunk of that was
from mainframes: mainframe sales were up 68% from 2009, to the best
level in six years.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.