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

List:       kde-core-devel
Subject:    Encoding problem in the file ioslave
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2008-08-31 22:27:58
Message-ID: 200809010027.58900.aacid () kde ! org
[Download RAW message or body]

If you get the tar file at https://bugs.kde.org/attachment.cgi?id=25631 and 
uncompress it, and try to navigate to the folders it creates using KDE4 based 
file ioslave (Dolphin/Konqueror) you'll see you can not enter it.

If you try it with KDE3 you will see it works

I've been looking at both kde3 and kde4 file ioslave and i have not been able 
of finding any difference in code and i've found no obvious problem in kde4 
either.

Debugging a bit i've found that in KDE3 QFile::decodeName("C�digo") gives us a 
QString whose char unicode values are
67 255 243 100 105 103 111
but in KDE 4 we get
67 253 100 105 103 111

Any idea on how to solve that? It's a Qt bug? Or should we store the 
QByteArray of the path in UDSEntry without converting to QString?

Ideas?

Albert

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

Configure | About | News | Add a list | Sponsored by KoreLogic