gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] missing feature: text file handling


From: Marcus Sundman
Subject: Re: [Gnu-arch-users] missing feature: text file handling
Date: Thu, 7 Oct 2004 18:16:29 +0300
User-agent: KMail/1.7

On Thursday 07 October 2004 14:30, address@hidden wrote:
> I liked that feature: I want to develop portable software, i.e. software
> that compiles and runs on multiple platforms. therefore, I prefer to use
> the native text file format.
>
> So, it would be nice to classify a file as being
> "dos text", "unix text", "mac text", "portable text", binary.
> or "CR/LF", "LF", "CR", "native", binary.

This is very closely related to the file type/encoding that was discussed a 
while ago. I still think it would be best to have an RFC 2045/2046 
'Content-Type' attribute to which you can attach an optional 'newline' 
parameter.
Examples:
Content-Type: text/html; encoding=iso-8859-15; newline=unix
Content-Type: text/plain; encoding=utf-8; newline=unicode
Content-Type: text; newline=mac


- Marcus Sundman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]