On Jan 11, 2008, at 2:49 AM, Takao Fujiwara - Tokyo S/W Center wrote:
Actually I'm not sure what is your problem.
Which applications do you try?
It seems recently some of modules, GTK, Bonobo and GNOME session,
uses goption. When the application uses --help options, it includes
the output of both goption and popt.
goption has the current encoding but popt is UTF-8 then you may
encounter the problem.
Could you apply POPT_fprintf() for popt options only?
In principle POPT_fprintf could be applied for popt options only. The
context of "popt options only" is extremely difficult to identify
however,
because popt behvaior is driven by application data.
No matter what, I'm not going to be accepting patches for
popt such as POPT_fprintf (or the Solaris signed character
"fix") without explicit regression tests in the future.
And I'm likely to revert to Robert Scheck's patch for the next
version of popt
as that seems to be closest to being explicitly identified as "working".
73 de Jeff
______________________________________________________________________
POPT Library http://rpm5.org
Developer Communication List [email protected]