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

Re: Volunteer for #872? (apr-iconv/xlate stuff, esp Win32)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-09-11 00:57:48 CEST

Ulrich Drepper wrote:

>Hash: SHA1
>Martin Hauner wrote:
>>+ /* where do we get the console codepage on a non Windows box? */
>>+ //return apr_os_locale_encoding (pool);
>return nl_langinfo (CODESET);
>Include <langinfo.h>. This is UNIX mandated functionality but still
>some systems don't have it so you'll have to add configure checks.
Nope, that's not portable. Non-Windows is not the same as Unix. :-)

Instead, you use apr_os_locale_encoding, but you don't have to do that,
because we already have functions for converting from UTF-8 to the
native encoding.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 11 00:58:38 2003

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