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

Re: svn commit: r19299 - branches/nonxml-entries/subversion/libsvn_wc

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-04-11 00:10:06 CEST

On Mon, Apr 10, 2006 at 02:56:35PM -0700, Garrett Rooney wrote:
> > > +The characters "|", "\" and ASCII control characters (0x01 - 0x31 and
> > > +0x7f) must be escaped when they occur in a field. The escaping uses
> >
> > Why 0x7f?
>
> 0x7f is an ascii DEL, so you probably want to escape it ;-)
>

Doh. I knew that.

But that does make me wonder why we're bothering to escape more than the
minimum (0x0a, maybe 0x0d, '|' and '\'). It's not like introducing a TAB
(SOH, STX, whatever) character in the file will break it.

Peter, two questions for you:

1. Is 0x00 allowed in a field? (no, I hope)
2. What's the end-of-line terminator, just LF? (on Windows too, right?)

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 11 00:10:47 2006

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.