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@jabberwocky.com
Sun Mar 23 01:06:02 2003


--TKDEsImF70pdVIl+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--TKDEsImF70pdVIl+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----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-----

--TKDEsImF70pdVIl+--