gnupg 1.2.1&1.3.1 - BAD output with --with-colons --list-keys for russian uid, not equal --charset utf8 --list-keys

David Shaw dshaw at jabberwocky.com
Sun Mar 23 01:06:02 CET 2003


On Tue, Mar 18, 2003 at 11:14:30AM +0200, Maxim Britov wrote:
> When i create russian User ID and try use some programs
> which use User ID from output --with-colons
> i get broken some symbols in my UserID.
> Some symbols replaced with "?\xNN", where NN - code.
> example: russian "u" output as "?\x83",
> where 83 is code of second byte of utf8-code.

--list-colons doesn't decode UTF8 output.  It outputs the raw bytes,
and escapes those that aren't 8-bit safe.  It is up to the program
that calls GnuPG with --with-colons to properly handle the UTF8.

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 243 bytes
Desc: not available
Url : /pipermail/attachments/20030323/43d998e0/attachment.bin


More information about the Gnupg-devel mailing list