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