charset problem

Stéphane Corthésy stephane at sente.ch
Thu May 30 19:11:02 CEST 2002


Hi,

Is the following behavior correct?

The file ~/.gnupg/options contains an option "comment" with value "é 
eacute"; file has been saved using UTF8 encoding.
The file /tmp/test contains same text "é eacute", but in iso-8859-1.

Performing the command

gpg --charset iso-8859-1 --clearsign /tmp/test

creates a new file /tmp/test.asc which contains invalid text: there is a 
mix of iso-8859-1 (for the body) and UTF8 (for the signature) charsets!

It seems that comment is copied as is, i.e. not converted to --charset 
(what is furthermore not always possible...), thus result is totally 
unreadable.


(I'm working with GnuPG 1.0.7 on MacOS X 10.1.4.)

Cheers,

Stéphane





More information about the Gnupg-devel mailing list