gnupg 1.2.1&1.3.1 - BAD output with --with-colons --list-keys for
russian uid, not equal --charset utf8 --list-keys
Maxim Britov
udjinrg@forenet.by
Tue Mar 18 11:09:01 2003
--=.iqakfQ5?Pc54u?
Content-Type: multipart/mixed;
boundary="Multipart_Tue__18_Mar_2003_11:14:30_+0200_027cdfb0"
--Multipart_Tue__18_Mar_2003_11:14:30_+0200_027cdfb0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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.
On attachet picture - test UID with russian keyboard layot in Mozilla-UTF8:
first string: gpg.exe --with-colons --list-keys test
second string: gpg.exe --charset utf8 --list-keys test
second string is properly russian, but first string - BAD!
In keyring my UID stored in properly UTF8.
I test this on win2000russian with sp3 + gpg 1.2.1
and on Linux MDK 9.0 + gpg 1.3.1.
Please fix it in future version and thanx for this very good program.
Sorry my English.
--
MaxBritov
--Multipart_Tue__18_Mar_2003_11:14:30_+0200_027cdfb0
Content-Type: image/gif;
name="Clipboard01.gif"
Content-Disposition: attachment;
filename="Clipboard01.gif"
Content-Transfer-Encoding: base64
R0lGODlhFgEyAIAAAAAAAP///yH5BAAAAAAALAAAAAAWATIAAAL/jI+py+0Po5y02ouz3rz7D4bi
SJbmiabqynaA8TZxOrdffeK2XvIVgAPOfAyhTohAwijGJFClDBAXzUPV+lxOrtKoIzpVcI01sGho
lZST4rQWspa6Tej3Ix6Xv8Nzfb44x2dXl0AoiPSklMVmBxOTlRdGiOU42Ob4sniFmEhG1VfZZanX
uCf2+MiI53lJSinqOvlZCkmqGVrIqOq02NWr66pV5gWbljlqGzhLO+jFBXzUfAtaGns53PvcFy0X
2d1ana0rG8wjTo3NC7aJnnsKjQxq/je0Sdw4Dw+OT5WqfAwsHD1lAYPhsuZOGDVTDNu92xbPYD6I
+/gldKLvosR+/3vqVdvnD2EyOO4mhfRmsKGggCd3LQTZcOOyLyUp/pFR05cfVB7BQar3i9ivZrjG
ZPuJ6WemThMvIk2qrpA5jMXsHRU69ZUmZ1hn1tLIZMVKG1vE5rhjNsI9smzbug07863cuXTrXiAy
1q7evXyh4OybgYzgwYPp5r1LOLHixYwbO8Z7GPCNx6xARJY8tzJmvmsxXN5cl7Lo0UNBl7bwGbTq
1W61qUnNOrZssaRhz76NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7
e/8O3mX48WVz2M59mnzgzuW7n1f/8i4mUYqW2q9vv+q6/ILpM//Ved9TSgXRBH6+7AdUgUtFhYWC
Cvp3IIH96QQghZygEuF/bBjInnjTTOPHON+IZIgb/gAUEkFoBKEQSiESZMuJ+tSRyoIAqTRKT0/t
pNCLVIVIzjUi3lhiLFchWKSMMh4o1YaKtIhIg1uZgaNIPqZYjJQqavVJIsa8eCKVwoD4lzdEbmni
S0WCucSS0HAzYo1tQuRikjOmaYwP2PCEYpdn3miRj0DGh6d+VR40kp4w4tmnTIImo+SclvQ0UqK7
tGRpimuKJ6iOGtF4KaEdochThrLUl1SpF6rDWIRaJQgrkxfu519+TGoZimIQDviqhFBZ2Ml8wrqK
66okVUQToG8uKfurWjQEBtZ0vjLxHlpwFdEqhT2kBx+yfXHrrRrdjtvPY+RKm+256q7LrlsFAAA7
--Multipart_Tue__18_Mar_2003_11:14:30_+0200_027cdfb0--
--=.iqakfQ5?Pc54u?
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows 2000)
iQEVAwUBPnbjhZcsbcY+/8LPAQJAMwgAhPallt/Mpjcnsu1aTOqDYmZhstCKl0SW
az1V+2RxF5jXkTfFAW2YVFygVddMT2ipiKeMnMOfcPDopQIeijDtGNBopIiw5yTK
dIJVJkBY2qlvuCShzaSqLFmjN93JFJeuZqbnltiLjaMG3AKP68edFqwVBYk4Zbij
89x4SDFe0TpHOhqomcCUYjV9XEgMpIyPra+mTel6QgJeBZnnM4HL6jSvEMZTPaX0
lo7h2mAki4lD4rsQWUpRG5t9f2SCSJ9CbgEjHljgCwB1S2xs5K+mwkumQUrxHx1x
APVytKfTCl2N5CjO9/pplQ2mMKsVT29kslsVnnonRukC3h1YEOTPRQ==
=iBGY
-----END PGP SIGNATURE-----
--=.iqakfQ5?Pc54u?--