Branko Äibej <[EMAIL PROTECTED]> writes:
> Anyway, the intent here is to tell the user what the APR
> _implementation_ knows about the path encoding. On most platforms, APR
> doesn't do anything with the paths, so we know that information can be
> pulled from the locale. On Windows, we know when we'll return UTF-8,
> regardless of locale. The enum would only grow if we started doing
> something radically different in a port to a new system.
> 
> We need opinions from lots of Unix people here. Folks, don't be shy! :-)

:-)

+1, and I think I prefer the simplicity of Brane's original
implementation.

In fact, I wonder if we couldn't do it *entirely* with macros, since
the function call just compiles down to a single return statement
anyway.  Why not avoid the function call overhead entirely?

-K

Reply via email to