> Date: Fri, 05 Sep 2008 10:34:35 +0200
 > From: Aleksander Morgado <[EMAIL PROTECTED]>
 > 
 > #if defined HAVE_SETLOCALE
 >   /* Set all categories of the locale */
 >   if(setlocale(LC_ALL, "") == NULL)
 >     {
 >       PDF_DEBUG_BASE("Error setting locale information in the process");
 >       return PDF_ETEXTENC;
 >     }
 > #endif
 > 

I think it has to be the test suite environment, I tested this code:

##
int main ()
{
        setlocale(LC_ALL,"");
        printf ("LC_CTYPE: %s\n", setlocale(LC_CTYPE,NULL));
        printf ("LC_ALL: %s\n", setlocale(LC_ALL,NULL));
}
###
And the output:
##
LC_CTYPE: en_US.UTF-8
LC_ALL: en_US.UTF-8
###


cheers

-gerel


Reply via email to