[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: D.J. Heap <dj_at_shadyvale.net>
Date: 2003-11-17 16:35:51 CET

Barry Scott wrote:
> The answer to my problem with \ is to use these pair of functions
> extern'ed in svn_path.h
>
> /** Convert @a path from the local style to the canonical internal
> style. */
> const char *svn_path_internal_style (const char *path, apr_pool_t *pool);
>
> /** Convert @a path from the canonical internal style to the local
> style. */
> const char *svn_path_local_style (const char *path, apr_pool_t *pool);
>
> Then all the assert will go away?
>
> Barry
>

Yes -- just make sure the path's case is correct and know that these
functions expect UTF8.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 16:36:49 2003

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.