Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE (KGpg) default encoding
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2177

PostPosted: Sat Sep 07, 2024 6:24 pm    Post subject: KDE (KGpg) default encoding Reply with quote

Weird one:

On my system:
Code:
eselect locale show
LANG variable in profile:
  en_GB.utf8


I have a file of passwords, "Passwords.asc", Gpg encrypted and stored ASCII-armoured.
If I use KGpg to open the file, and decrypt it using my private key, it shows the password list, as I wish.
Then I encrypt it using my public key, no problem - I see the usual ASCII-armoured file.
So far so good.

Now I click on Save, or Save as, or any variation on that theme, with the same file name or a new one, makes no difference, I get an error message
Quote:
The document could not been saved, as the selected codec is not supported.

Apart from the dodgy grammar (err, isn't that the sign of a dubious web site :-) ), WTF?

Eventually I realized there's an "encoding" pull-down list on the Save As menu, which seems to default to "x-UTF_8J".
I tried "ASCII", and "ascii7" and they didn't work, but "UTF8" did.
So I presume somewhere there's a default being chosen, extremely badly. The KGpg source code seems to want to set the encoding when it opens the file, so you'd thing it would choose an available codec!
System Settings has no entries for "encoding" or "codec". More to the point, choosing ASCII-armoured surely implies the a null ASCII encoding...

This system is KDE6, as of two days ago, but the problem sometimes occurred with KDE5 - I think I'd found a work-around by using some not-quite-the-easiest choice of Save As/Open Recent/something-else-I-forget.
I haven't managed to Google anything constructive.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum