Bug 203633

Summary: KCharsets::availableEncodingNames returns names it can not deal with in codecForName
Product: [Frameworks and Libraries] kdelibs Reporter: Martin Koller <kollix>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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".