Am Donnerstag, 7. Dezember 2006 16:34 schrieb Enrico Forestieri: > On Thu, Dec 07, 2006 at 12:39:36PM +0100, Georg Baum wrote: > > Yes, I think so, too. I wonder what the difference to QFile::encodeName() > > is? > > I think they perform the same task, except that you can use encodeName() > directly with a QFile object.
No, QFile::encodeName() is static, so you have to pass it a QString. Therefore I suspect that there must be some difference to QString::toLocale8Bit(), but the docs don't tell any. Georg