[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Text module unit tests failing
From: |
gerel |
Subject: |
Re: [pdf-devel] Text module unit tests failing |
Date: |
Fri, 05 Sep 2008 06:07:09 -0700 (PDT) |
> Date: Fri, 05 Sep 2008 10:34:35 +0200
> From: Aleksander Morgado <address@hidden>
>
> #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
- [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/03
- Re: [pdf-devel] Text module unit tests failing, jemarch, 2008/09/03
- Re: [pdf-devel] Text module unit tests failing, gerel, 2008/09/04
- Re: [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/05
- Re: [pdf-devel] Text module unit tests failing,
gerel <=
- Re: [pdf-devel] Text module unit tests failing, jemarch, 2008/09/08
- Re: [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/09
- Re: [pdf-devel] Text module unit tests failing, gerel, 2008/09/09
- Re: [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/09
- Re: [pdf-devel] Text module unit tests failing, gerel, 2008/09/09
- Re: [pdf-devel] Text module unit tests failing, jemarch, 2008/09/09
- Re: [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/10
- Re: [pdf-devel] Text module unit tests failing, jemarch, 2008/09/10
- Re: [pdf-devel] Text module unit tests failing, pete, 2008/09/12
- Re: [pdf-devel] Text module unit tests failing, Aleksander Morgado, 2008/09/13