4 ms·
There’s no such thing as “plain text”. Is this UTF-8, latin-1, 7 bits ASCII…?
by louiz 9y ago
There’s no such thing as “plain text”.
Is this UTF-8, latin-1, 7 bits ASCII…?
- chaosite 9y agoIt's UTF-8.
- oconnor663 9y agoYeah maybe there finally _is_ such a thing as plain text :-D
- mmphosis 9y agoIs it carriage return then linefeed? or just linefeed? or maybe just carriage return? or maybe linefeed then carriage return? or maybe a different character or sequence of characters to denote a newline? I sent someone an important text (7-bit ASCII) file once. Much later, I found that they had tried to read it using NotePad. They had spent an inordinate amount of time trying to format it into something they could read. Had they opened it in WordPad, Word, a web browser, or practically anything else it would not have been a problem, but by default text files are opened with NotePad. Please don't get me started on tabs vs spaces.
- ed312 9y agoThe end-of-line character issue is trivial to solve with a very simple editor (e.g. many editors can figure it out and render appropriately). I _think_ the real issue is that NotePad is a rather basic (not dumb, just simple) tool which unfortunately is an OS default. Imagine a world where something like Notepad++ is the default bare-minimum text editor for a typical end-user OS!