| Summary: | encoding problem in KToolInvokation::kdeinitExec | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Joseph Wenninger <jowenn> |
| Component: | kdeinit | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | faure, shafff |
| Priority: | NOR | ||
| Version First Reported In: | 4.1 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
It looks like this has been fixed by the fix for the general command line handling problem related to non ascii characters. |
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.