Bug 68362

Summary: The public file server applet does not work correctly with åäö in filenames
Product: [Unmaintained] kpf Reporter: Kenneth Krekula <kenneth.krekula>
Component: generalAssignee: rik
Status: RESOLVED FIXED    
Severity: normal CC: carlos-spam
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kenneth Krekula 2003-11-16 12:34:15 UTC
Version:           1.0.1 (using KDE KDE 3.1.3)
Installed from:    Mandrake RPMs
OS:          Linux

If the filename is e.g. "övning1.pdf" kpf displays this correctly, but generates the wrong URL "%-avning1.pdf".
Comment 1 Stephan Binner 2004-04-27 12:21:43 UTC
*** Bug 72667 has been marked as a duplicate of this bug. ***
Comment 2 Kenneth Krekula 2004-05-10 18:26:54 UTC
This bug still exists in KDE3.2 (Mandrake 10.0)
/Kenneth
Comment 3 Morten Sjoegren 2004-06-13 18:57:50 UTC
I've a simulair issue with KDE 3.2.2 and KDE 3.2.3.
Danish charters like æ ø å (hope you can see them) are displayed as they should be in the file list but they can't be downloaded, be course the link point a stange filename with like this "
Comment 4 rik 2004-10-31 05:34:18 UTC
CVS commit by rikkus: 

BUG: 68362

Encoding of chars as 2 hex chars (a number) was broken. Signed char was being turned into signed ULL, and coming out as fffffffffffffffffffffffffff6 or something similar. Casting it to uchar fixes this, so chars now come out as 2 hex chars as they should.


  M +1 -1      Utils.cpp   1.13


--- kdenetwork/kpf/src/Utils.cpp  #1.12:1.13
@@ -520,5 +520,5 @@ namespace KPF
       else
       {
-        quoted += QString("%%1").arg(c, 0, 16);
+        quoted += QString("%%1").arg(uchar(c), 0, 16);
       }
     }


Comment 5 Stephan Binner 2004-11-18 23:38:56 UTC
Any reason why this was not backported?
Comment 6 rik 2004-11-20 13:26:06 UTC
It wasn't backported because I didn't know it was supposed to be. I'll try and find out where I need to port it to.
Comment 7 Stephan Binner 2004-11-20 14:35:10 UTC
KDE_3_3_BRANCH