GnuPG 2.0 vs. 1.4 locale; gpgme_set_locale

Werner Koch wk at gnupg.org
Tue Nov 28 09:04:00 CET 2006


On Mon, 27 Nov 2006 21:08, albrecht.dress at arcor.de said:

> That shouldn't be too difficult - basically make a copy of environ, but  
> omit LC_*, replacing them by the values set in gpgme, then call execve()  
> and free the array in the parent, right?  I can do that if it is not  
> urgent (read: probably next weekend or so).

It is actually easier:  We have the options

    --display
    --ttyname
    --ttytype
    --lc-ctype
    --lc-messages

To override the values from the environment.  Just pass them to gpg
(>= 1.3.0).



Salam-Shalom,

   Werner




More information about the Gnupg-devel mailing list