[Bug 175907] New: encoding problem in KToolInvokation::kdeinitExec
Joseph G. O. Wenninger
jowenn at kde.org
Sun Nov 23 17:08:10 CET 2008
http://bugs.kde.org/show_bug.cgi?id=175907
Summary: encoding problem in KToolInvokation::kdeinitExec
Product: kdelibs
Version: 4.1
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: kdeinit
AssignedTo: kdelibs-bugs at kde.org
ReportedBy: jowenn at kde.org
Version: (using Devel)
Installed from: Compiled sources
If I invoke from kate from a shell
"kate --start "öäüß" the session is correctly named with the German umlauts
If the same is tried with
KToolInvokation::kdeinitExec("kate",args);
the session name kate gets is garbage. It looks like kdeinit interprets utf-8
as latin-1 and converts that back to utf-8.
kDebug<<args; displays the umlauts correctly, and displaying the second
argument in a message box looks okay too, so I'm sure the encoding of the
arguments, I'm passing to kdeinitExec is correct.
How to reproduce it:
Create a session with umlauts in kate.
Try to open it with the kate plasma session runner or the kate plasmoid.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdelibs-bugs
mailing list