diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-31 19:24:10 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-31 19:24:10 +0000 |
commit | 7136628a7a21d9745b17da272ab9e1d8802b69d0 (patch) | |
tree | 4da0048ce42ad3f192841c27dee17ceac65442bd | |
parent | fix some issues with utf8 strings in keys (diff) | |
download | gpg4usb-7136628a7a21d9745b17da272ab9e1d8802b69d0.tar.gz gpg4usb-7136628a7a21d9745b17da272ab9e1d8802b69d0.zip |
correct utf8 encoding for email address in key generation
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@874 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | keygendialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp index 2743098..ef07e61 100644 --- a/keygendialog.cpp +++ b/keygendialog.cpp @@ -135,7 +135,7 @@ void KeyGenDialog::keyGenAccept() keyGenParams += "Name-Comment: " + commentEdit->text().toUtf8() + "\n"; } if (!(emailEdit->text().isEmpty())) { - keyGenParams += "Name-Email: " + emailEdit->text() + "\n"; + keyGenParams += "Name-Email: " + emailEdit->text().toUtf8() + "\n"; } if (expireCheckBox->checkState()) { keyGenParams += "Expire-Date: 0\n"; |