[Bug 68744] Problems with accented characters in file names
David Faure
faure at kde.org
Tue Dec 2 15:25:33 GMT 2003
On Tuesday 02 December 2003 16:04, Thiago Macieira wrote:
> David Faure wrote:
> >This looks very wrong indeed, for any usage of KURIFilter that is about the
> > local filesystem. I guess Malte was trying to make gg:foo encode "foo" as
> > utf8.
>
> Also note that there is the KDE_UTF8_FILENAMES case, which I am beginning to
> see as a mistake. In that case, the filename is UTF-8 and it has to be
> encoded properly, being different from QString::fromLocal8Bit.
That's about the char*->QString conversion, which should be done with
QFile::{de|en}codeName.
However the code we're talking about is QString->KURL conversion,
which is something else, isn't it?
--
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