14 Jul
2011
14 Jul
'11
6:28 p.m.
On 07/14/2011 06:19 AM, Paul Gideon Dann wrote:
On Wednesday 13 Jul 2011 15:00:37 Squall Lionheart wrote:
When using Dolphin in KDE4 to *Create New> Text File...* the new file is not empty, it contains a space and a newline character.
I wonder if that's to do with MIME types? With a space and a newline, the file is detected by "file" as ASCII text rather than "empty". A single newline is detected as "very short file (no magic)", so probably the space-newline combo is the shortest file that can be automatically detected as text.
Paul
Ah, that makes a lot of sense now. Thanks for the info. DR