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

Re: EBCDIC - was: (svn commit: r12029 - trunk/subversion/libsvn_client)

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-11-28 04:18:39 CET

> Well, that kind of logic can be hidden behind the API. For an example,
> look at how we handle UTF-8-to-APR encoding on the Windows NT family,
> where APR already expects filenames to be in UTF-8 and does its own
> conversion, so _our_ conversion functions become noops.

Can you point me to one in particular to look at?

> Yes, but the problem is that you have to conditionalize those pragmas in
> the code itself. Is there a way to set that option on the command line?
> Also, I'd like to see a solution that doesn't depend on an
> OS/400-specific "apr-wrap.h" header. Instead, you could create
> wrapper/forwarding headers for all of APR, and adjust the include paths.

I am pretty sure we cannot do the #pragma on the command line. There is a
parm for this on the compile command, but it will only allow an EBCDIC
CCSID. For some reason, in the code itself you can use ASCII or UTF-8.
Putting it in a header file does not even work. I will look again though.

Redirecting the header files is a good idea, certainly worth exploring.
Ideally, when we re-look at this we will be able to greatly minimize the
wrappers anyway.

Thanks

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 28 04:21:18 2004

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.