Bug 203633

Summary: KCharsets::availableEncodingNames returns names it can not deal with in codecForName
Product: [Unmaintained] kdelibs Reporter: Martin Koller <kollix>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2009-08-12 23:41:20 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

My Problem: calling KGlobal::charsets()->availableEncodingNames();
end then looping over all names and calling  KGlobal::charsets()->codecForName(*it, ok); does not work correctly.

Now I found that the name "ISO 10646-UCS-2" does return the iso-8859-1 codec as the ok argument given returns false ...
The same problem goes for "ucs2" and "utf7".
Comment 1 Christoph Cullmann 2024-06-20 18:59:18 UTC
This got redone for KF6.