Am 03.03.2010 02:17, Michael Sweet wrote:
> On Mar 2, 2010, at 3:52 PM, Albrecht Schlosser wrote:
>> ...
>> BTW.: the lpr integration needs internationalization :-( It works with
>> LC_MESSAGES=C, but doesn't work with LC_MESSAGES="de_DE.UTF-8", because
>> the code tries to interpret lpstat output.
>
> You should set LANG and LC_MESSAGES to "C" in the environment when you
> execute any external command, since otherwise you will get the localized
> nonsense...

Thanks, Mike, I tried some variants, and maybe found the solution by
modifying the popen ("lpstat...") call by prepending "LC_MESSAGES=C"
(and maybe LANG=C as well). Was this what you meant?

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to