[PATCH] BUG 172567 support non ASCII user name to login in

David Faure faure at kde.org
Mon Oct 13 09:51:29 BST 2008

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 

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

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

More information about the kde-core-devel mailing list