[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: encoding
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-08-10 22:42:25
Message-ID: 200408101942.25509.thiago.macieira () kdemail ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Tomasz Grobelny wrote:
>On Tuesday 10 of August 2004 23:03, Brad Hards wrote:
>> On Wed, 11 Aug 2004 06:50 am, Tomasz Grobelny wrote:
>> > Is there a function somewhere in KDE classes that would show
>> > encoding of a text file (or at least some aproximation)?
>>
>> KCharsets?
>
>I don't see anything that would show encoding based on file content...

There's no public function that you can readily use. However, you may 
find the code you want in kdelibs/khtml/misc/decoder.cpp.

If you make a public function/class out of that, it might be interesting 
to share. In special, if you write it, make it so that you can replace 
the code in decoder.cpp with a simple call to your function/class.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic