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

List:       kde-devel
Subject:    Re: [PATCH] BUG 172567 support non ASCII user name to login in
From:       David Faure <faure () kde ! org>
Date:       2008-10-13 8:51:29
Message-ID: 200810131051.30288.faure () kde ! org
[Download RAW message or body]

On Monday 13 October 2008, Thiago Macieira wrote:
> 潘卫平 wrote:
> >kdeinit4 and kstartupconfig don't create a QCoreApplication, maybe it
> >would lead some encoding problems, I guess.
> 
> It does: QString::fromLocal8Bit and toLocal8Bit don't work unless 
> QCoreApplication is initialised.
> 
> So your patches are correct.

Hmm, but creating a QCoreApplication in kdeinit is a bad idea, since kdeinit
forks+dlopens kdeinit modules (and kioslaves), which will then end up with two 
Q[Core]Applications...

Is there a way to initialize fromLocal8Bit/toLocal8Bit _without_ a QCoreApplication?

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> 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