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

Re: [PATCH] FAQ update on binary files (was Re: Determining which files are treated as binary)

From: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-14 19:13:53 CEST

On Tuesday 14 June 2005 18:11, kfogel@collab.net wrote:
> Greg Thomas <thomasgd@omc.bt.co.uk> writes:
> > On Tue, 14 Jun 2005 09:53:45 -0400, Charles Bailey
> >
> > <bailey.charles@gmail.com> wrote:
> > >I followed the thread perhaps less well than I should have. Would it
> > >be possible to iclude the criteria Subversion used when the file is
> > >first seen to infer that it is binary?
> >
> > I'm happy to update it, if someone could let me know what the criteria
> > is for detecting binary files.
>
> Thanks, Greg. I committed your new FAQ item in r15055, and I tweaked
> it to add the information suggested above by Charles Bailey.
>
> I did not commit the "<meta http-equiv=...>" portion of your change,
> partly because it should be a separate commit anyway, and partly
> because I wasn't sure what problem it was solving. Could you explain
> it in a bit more detail? Your log message just said:
>
> Also added a <meta http-equiv> tag so http://validator.w3.org/ can
> properly validate an uploaded file.
>
> Is that important? Should all our www/ files have this?

If you mean to set something like:
<meat http-equiv="Content-Type" content="text/html; charset=UTF-8">
then yes it is rather important to have it. (Of course, define the correct
charset and correctly (for example not "utf8"), otherwise it is useless!)

It is much better to declare what charset is used that to let the HTML user
agent (for example browser) to guess what encoding is used. (Sure http:
transmit such information too when correctly set, but if the user saves the
file, then that information is lost.)

And anyway, HTML pages that do not validate with http://validator.w3.org are a
bad thing.

Have a nice day!

>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 14 19:17:55 2005

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

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