Bug 312126

Summary: KGpg editor does not support the encryption of UTF-8 characters.
Product: [Applications] kgpg Reporter: Edward d'Auvergne <true.bugman>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Edward d'Auvergne 2012-12-23 17:09:44 UTC
Unicode support using the KGpg 2.5.0 editor on KDE 4.6.5 appears to be broken.

Reproducible: Always

Steps to Reproduce:
1.  Open the Kgpg editor window.
2.  Type "你好" on the first line (http://en.wiktionary.org/wiki/%E4%BD%A0%E5%A5%BD).
3.  Type "ça va" on the second line (http://en.wiktionary.org/wiki/ca_va).
4.  Encrypt with any key and save as the file 'test'.
5.  Decrypt on the command line with "gpg --decrypt test" (or in the editor).
6.  Observe the strange question marks.
Actual Results:  
??
�a va

Expected Results:  
你好
ça va

The following steps using gpg work:

1.  Create a file called 'test' with the lines: "你好" and "ça va", as above.
2.  Encrypt with "gpg --encrypt test".
3.  Specify some key.
4.  Decrypt with "gpg --decrypt test.gpg".
5.  See the text:
你好
ça va
Comment 1 Rolf Eike Beer 2012-12-23 17:44:34 UTC

*** This bug has been marked as a duplicate of bug 295397 ***