Re: 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 <[email protected]> Sat, 22 Mar 2003 19:06:15 -0500
Newsgroups gmane.comp.encryption.gpg.devel,gmane.comp.encryption.gpg.internationalization
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 243 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+fPp34mZch0nhy8kRAup8AJ0VRoH7EJGKQohOqHMybxe5LEMf3wCdHk6j
GSB+K9SzMMrljPTCDBefT0A=
=l5Wx
-----END PGP SIGNATURE-----