[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Text mime types

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-06-12 00:18:53 CEST

Vincent Lefevre wrote:
> We would need a keyword for charset encoding and a keyword for
> file encoding. For instance, a file file-in-utf8.txt.gz would
> have a text/plain MIME type, a utf8 charset encoding and a gzip
> file encoding.

No. The example "file-in-utf8.txt.gz" is an example of one encoding within
another. It is only feasible for a tool like Subversion to know about the
outermost encoding (gzip in this example). If the user unzips the file and
wants to store the resulting file "file-in-utf8.txt" in Subversion, THEN is the
time when the user must tell Subversion the encoding of this new file.

If Subversion was designed to automatically zip and unzip files, then it would
probably need to know the inner encoding; but it isn't.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 12 00:19:55 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.