Bug 203633 - KCharsets::availableEncodingNames returns names it can not deal with in codecForName
Summary: KCharsets::availableEncodingNames returns names it can not deal with in codec...
Status: CONFIRMED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 23:41 UTC by Martin Koller
Modified: 2009-08-12 23:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".