pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Text module unit tests failing


From: jemarch
Subject: Re: [pdf-devel] Text module unit tests failing
Date: Mon, 08 Sep 2008 16:10:12 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Hi Aleks.

   > And that's what the DEBUG info says right ?
   > ##
   >    libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:138: Invalid locale
   >    info detected! 'C'
   > ###

   Yes, that's the normal behavior (getting 'C') when you don't call
   setlocale(LC_ALL,"") (or if your locale environment variables are not
   set) before calling gl_locale_name, but we are doing it in
   pdf_text_context_init():

Do that means that the initialization of the text module will fail if
LC_ALL= C or LC_ALL = POSIX?

To have such locale configured is quite common. We should be able to
communicate the user what the problem is, so would be good to add a
new status return value to 'pdf_text_init' like
'PDF_E_BADLOCALE'. What do you think?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]