Future of some functions in the class KCharsets

Thiago Macieira thiago at kde.org
Sun Sep 3 12:40:45 BST 2006


Nicolas Goutte wrote:
>As the functions are not related to QTextCodec and as the KCharsets
> class has changed its main purpose since Qt2/KDE2, I intend to move
> them out in they own class.
>
>I propose the name KEntity for that class. (I have chosen the singular
> form, as there is already a file entities.c which is related.)

Make that KHtmlEntity, since they are HTML-specific (except for < and 
&, which come from XML).

>To the third problem: UTF-7
>KCharsets defines UTF-7 in the list of encodings but Qt does *not*
> support it. I propose to remove it from the list, especially that the
> further use of UTF-7 should not be encouraged and UTF-8 should be used
> instead.

There are still a few places where UTF-7 is used (like the pseudo-UTF-7 in 
IMAP4). But I think kdepim already has its own encoding functions and 
classes to deal with that.

So I'd go with the removal.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060903/4386741f/attachment.sig>


More information about the kde-core-devel mailing list