Re: texteditors that can process and save in different encodings

From: David Starner <prosfilaes_at_gmail.com>
Date: Sun, 21 Oct 2012 21:21:20 -0700

On Sun, Oct 21, 2012 at 7:48 PM, Asmus Freytag <asmusf_at_ix.netcom.com> wrote:
> Anyway, to cut the discussion short, I'd love to see a working example of
> any system where metadata are 100% reliable.

I'd like to see an example of any system that's 100% reliable in any
way. But you can be pretty sure if you get a file marked .jpg, .gif or
.png, that it will in fact be a JPEG, GIF or PNG file, and internal
metadata is 100% accurate; GIF always starts with "GIF87a" or
"GIF89a", PNG with hex /89 50 4e 47 0d 0a 1a 0a/, and JPEG with hex
/ff d8/. Since text has no header, that doesn't work, and unlike
images, text file formats are hard to distinguish, with everything be
a superset of ASCII, and several of them (ISO-8859-1, CP1252,
ISO-8859-15) are practically indistinguishable.

-- 
Kie ekzistas vivo, ekzistas espero.
Received on Sun Oct 21 2012 - 23:26:40 CDT

This archive was generated by hypermail 2.2.0 : Sun Oct 21 2012 - 23:26:41 CDT