KCharsets::codecForName bug

David Faure faure at kde.org
Fri Aug 14 00:08:14 BST 2009


On Saturday 08 August 2009, Maksim Orlovich wrote:
> > 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".
> >
> > Why ?
> 
> Likely because Qt 4.5.2 dropped ISO-10646-UCS-2 as a valid codec name.. I 
> think KCharsets is using that name as an alias for ucs2 and iso10646-1; and 
> hence those likely need to be readjusted to use "UTF-16" as the target codec. 
> I am not sure of how the table generation stuff in KCharSets works, though -- 
> it mentions some generate_string_table.pl script, which doesn't seem to be in 
> kdecore..

generate_string_table.pl is in kdesdk/scripts.

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list