Messed-up encoding in doc-comments (in the popup-widget)

Niko Sams niko.sams at gmail.com
Wed Jul 8 06:58:34 UTC 2009


On Wed, Jul 8, 2009 at 08:08, David
Nolden<david.nolden.kdevelop at art-master.de> wrote:
> Am Mittwoch 08 Juli 2009 07:01:32 schrieb Niko Sams:
>> On Wed, Jul 8, 2009 at 00:23, Milian Wolff<mail at milianw.de> wrote:
>> > Where is that declaration-popup stuff again? I.e. where is the comment
>> > shown, maybe I can find something there...
>>
>> language/duchain/navigation
>>
>> Afaics Declaration::comment returns a QByteArray and it's not converted to
>> utf8. So you are probably right :D
> It is expected to be utf-8, so there is no conversion required (Except maybe
> QString::fromUtf8(..) if a QString is wanted).
exactly that's the problem, QString(QByteArray) constructor is used.

Niko




More information about the KDevelop-devel mailing list