<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>211399</bug_id>
          
          <creation_ts>2009-10-22 01:50:06 +0000</creation_ts>
          <short_desc>KGpg cannot handle latin/non-ascii/special characters in Name</short_desc>
          <delta_ts>2009-10-25 21:19:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kgpg</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Thomas">echidnaman</reporter>
          <assigned_to name="Rolf Eike Beer">kde</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>848595</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2009-10-22 01:50:06 +0000</bug_when>
    <thetext>Version:           2.2.1 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

This is a forwarding of https://launchpad.net/bugs/293177 , which I can confirm still occurs with KDE 4.3.2.

Original report text:
&quot;In Intrepid, if I try to create a key with my name &quot;Björn Lindh&quot; from KGPG the name is saved as Bj*unreadable chars*rn Lindh.

Console output says:
uid Bj\xf6\x72n Lindh

Creating the key from console makes the &quot;ö&quot; show up fine.&quot;

This picture displaying the problem was attached to the downstream bug: http://launchpadlibrarian.net/26172708/snapshot034.png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850513</commentid>
    <comment_count>1</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2009-10-25 18:26:54 +0000</bug_when>
    <thetext>Which locale are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850521</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2009-10-25 18:33:25 +0000</bug_when>
    <thetext>jonathan@jonathan-desktop:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=&quot;en_US.UTF-8&quot;
LC_NUMERIC=&quot;en_US.UTF-8&quot;
LC_TIME=&quot;en_US.UTF-8&quot;
LC_COLLATE=&quot;en_US.UTF-8&quot;
LC_MONETARY=&quot;en_US.UTF-8&quot;
LC_MESSAGES=&quot;en_US.UTF-8&quot;
LC_PAPER=&quot;en_US.UTF-8&quot;
LC_NAME=&quot;en_US.UTF-8&quot;
LC_ADDRESS=&quot;en_US.UTF-8&quot;
LC_TELEPHONE=&quot;en_US.UTF-8&quot;
LC_MEASUREMENT=&quot;en_US.UTF-8&quot;
LC_IDENTIFICATION=&quot;en_US.UTF-8&quot;
LC_ALL=
jonathan@jonathan-desktop:~$


I would like to note that the name looks OK in the &quot;New key pair created&quot; dialog, but opening up the key from the list afterwards shows the bug as seen in the screenshot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850549</commentid>
    <comment_count>3</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2009-10-25 19:07:20 +0000</bug_when>
    <thetext>The &quot;new key pair created&quot; dialog shows the string from within the application, not the one read back from the key itself.

I can reproduce this here so I&apos;ll have a look on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850631</commentid>
    <comment_count>4</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2009-10-25 21:18:22 +0000</bug_when>
    <thetext>SVN commit 1040200 by dakon:

properly encode what is sent do gpg processes

-don&apos;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&amp;revision=1040200</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850632</commentid>
    <comment_count>5</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2009-10-25 21:19:05 +0000</bug_when>
    <thetext>SVN commit 1040201 by dakon:

properly encode what is sent do gpg processes

-don&apos;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&amp;revision=1040201</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>