Bad charset / encoding result of signing clipboard with utf-8 text but non-english text. I have a written text in eastern european language in Kate but coding is in utf-8. When copying to clipboard and wanna sign the message, text is not the same but instead some letters there are just question marks "?". When signing a txt file, the same problem. Only if I crypt and then decrypt the txt file (with the same text as mentioned above), decryption is ok. Am I wrong or can I set anything anywhere ? ~$ gpg --version gpg (GnuPG) 1.4.10 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 ~$ set | grep -e LANG -e ^LC LANG=en_US.UTF-8 LANGUAGE=en_US:en KGpg ver.: 2.3.0 Using KDE Development Platform 4.4.5 (KDE 4.4.5) OS: Linux (i686) release 2.6.32-5-686 ...Debian Squeeze Compiler: cc Can anybody help, please ? Thanks in advance !
Just a while ago (but already after posting this bug report), I've installed "GPA ver. 0.9.0-1", another gnuPG front-end and I've tested the same task - to sign clipboard with non-english text/letters. And the signed text is OK ! :) Those non-english letters are the same as original, therefore I do suppose there must be unfortunately something wrong with the "KGpg" app :-\
I have already fixed some of these bugs. Please try again with a recent version.
Hello, thanks for information. Can you please give me little advice how to install the newest version of KGpg into Debian Squeeze (stable) ? :) Due it's stable most apps won't change, some apps, like Iceweasel I've upgraded just adding backports to my sources.list and installing with a switch "-t ...", no other way. Thanks in advance!
Sorry, I have no idea about Debian. Try asking in the KDE forums.
Ok, I found some more bugs in it. Fixes will go into master soon and things will likely get fixed for KDE SC 4.8.2.
Git commit fa5e306040bb977f38da6732d6a10330ed10d6b4 by Rolf Eike Beer. Committed on 07/03/2012 at 19:39. Pushed by dakon into branch 'KDE/4.8'. make operations on UTF-8 text in editor work Signing, verifying, and encrypting were previously broken. This will very likely break any text that is not UTF-8 encoded, but I doubt that the editor can currently handle that anyway. M +3 -23 editor/kgpgtextedit.cpp M +0 -3 editor/kgpgtextedit.h M +11 -19 kgpgtextinterface.cpp M +1 -1 transactions/kgpgtextorfiletransaction.cpp http://commits.kde.org/kgpg/fa5e306040bb977f38da6732d6a10330ed10d6b4
*** Bug 312126 has been marked as a duplicate of this bug. ***