current charset guessing

Alain Bench xwck at oreka.com
Fri Jan 21 12:56:29 CET 2005


 On Tuesday, January 18, 2005 at 4:47:17 PM +0100, Werner Koch wrote:

> On Sat, 15 Jan 2005 01:17:10 +0100 (CET), Alain Bench said:
>> in the tarball: gnupg-1.4.0/intl/localcharset.c
> Onmost systems it is not used and it will raise problems when
> installing with --disable-nls.

    What about adopting it directly, not as a lib?


>> LC_ALL, LC_CTYPE, and LANG are unset [...] then charset = Latin-1.
> GNU also defines LANGUAGE

    Out of the game: LANGUAGE Gnuism is sort of multi-LC_MESSAGES. Not
involved in charset selection, even if it better should follow what's
selected elsewhere.


    BTW a loosely related Win32 glitch with straight binary
gnupg-w32cli-1.4.0a.zip from gnupg.org, on Win2000sp4 in default
"French_France.1252" locale, and default CP850 charset in cmd.exe:

| C:\>gpg --verify gettext-0.14.1.tar.gz.sig
| gpg: Signature faite le 01/29/04 20:21:41 CET avec la clé DSA ID 09718317
| gpg: Bonne signature de « Bruno Haible (Open Source Development) [...] »

    The date is not localized on Win32: It should probably be
"29/01/2004 20:21:41 CET", or "29 janv. 2004", or whatever the locale
defines. Note I had to setlocale(LC_ALL, ".850") to get it OK.


Bye!	Alain.
-- 
Give your computer's unused idle processor cycles to a scientific goal:
The Folding at home project at <URL:http://folding.stanford.edu/>.



More information about the Gnupg-users mailing list