Summary: | KGpg cannot handle latin/non-ascii/special characters in Name | ||
---|---|---|---|
Product: | [Applications] kgpg | Reporter: | Jonathan Thomas <echidnaman> |
Component: | general | Assignee: | Rolf Eike Beer <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jonathan Thomas
2009-10-22 01:50:06 UTC
Which locale are you using? jonathan@jonathan-desktop:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= jonathan@jonathan-desktop:~$ I would like to note that the name looks OK in the "New key pair created" dialog, but opening up the key from the list afterwards shows the bug as seen in the screenshot. The "new key pair created" dialog shows the string from within the application, not the one read back from the key itself. I can reproduce this here so I'll have a look on this. SVN commit 1040200 by dakon: properly encode what is sent do gpg processes -don't destroy UTF8 encoding -use QByteArray::number() instead of QString::number().toAscii() -remove bogus Q_UNUSED() CCBUG:211399 M +1 -1 kgpgaddphoto.cpp M +2 -2 kgpgadduid.cpp M +1 -1 kgpgchangeexpire.cpp M +1 -1 kgpgchangetrust.cpp M +0 -2 kgpgexport.cpp M +6 -5 kgpggeneratekey.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1040200 SVN commit 1040201 by dakon: properly encode what is sent do gpg processes -don't destroy UTF8 encoding -use QByteArray::number() instead of QString::number().toAscii() -remove bogus Q_UNUSED() BUG:211399 backport of r1040200 M +1 -1 kgpgaddphoto.cpp M +2 -2 kgpgadduid.cpp M +1 -1 kgpgchangeexpire.cpp M +1 -1 kgpgchangetrust.cpp M +6 -5 kgpggeneratekey.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1040201 |