W3C home > Mailing lists > Public > www-validator@w3.org > July 2001

Re: charset parameter

From: Terje Bless <link@pobox.com>
Date: Sat, 28 Jul 2001 23:07:38 +0200
To: W3C Validator <www-validator@w3.org>
Message-ID: <20010728231839-r01010700-fa0d3e2f-0910-010c@>
On 27.07.01 at 11:30, Martin Duerst <duerst@w3.org> wrote:

>By the way, it looks like you are assuming that the encoding of
>FTP files is determined by the locale. That's true in a very narrow
>sense: for text mode and the distinction between ASCII and EBCDIC.
>For the rest, FTP just transmits bytes.

For non-TEXT mode FTP transfers, practice is that locale determines what
conventions to apply to the document. TEXT-mode is ANSI X.34 or EBCDIC.
It's not FTP making the distinction, but the client app that uses the data.
For instance, if I used the "Edit..." command on a binary file in my FTP
client, it would hand it over to my favourite text editor which would
assume that it was a text file in MacRoman (actually, my FTP client would
optionally translate ISO-8859-1=>MacRoman).
Received on Saturday, 28 July 2001 17:18:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:23 UTC