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

Re: [PATCH] Re: Poor support for \ on windows from the C API?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-11-16 19:35:10 CET

On Nov 16, 2003, at 12:51 PM, D.J. Heap wrote:

> Garrett Rooney wrote:
> [snip]
>> If we're going to go down this path we really need to document
>> precisely what this function is converting FROM. As it stands it
>> seems like some magical function that converts from whatever the hell
>> encoding you pass it into what Subversion expects internally, and
>> that just can't work in all cases.
>> -garrett
>
> Good point, it needs to be documented more clearly -- specifically
> that it expects the locale-specific encoding and that urls be
> uri-encoded. It will convert to utf8 and normalize on '/' for
> filesystem path separators, and use the correct case for existing
> files on case-insensitive platforms.
>
> Do you (or anyone) feel it is not really a worthwhile addition? It
> seems so to me, but I don't have strong feelings about it -- clients
> can get the job done, it's just a bit of a hassle.

I have no problem with us providing this kind of function (and one to
perform the reverse translation), as long as we make it clear exactly
what it is doing. Assuming we do that, it seems like it will make life
considerably easier for client writers.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 16 19:36:01 2003

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