[Konsole-devel] [Bug 297529] New: Konsole does not allow use of national characters in "-e" command argument

Eugene Shalygin eugene.shalygin at gmail.com
Thu Apr 5 12:00:40 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=297529

            Bug ID: 297529
          Severity: normal
           Version: 2.8.999
          Priority: NOR
          Assignee: konsole-devel at kde.org
           Summary: Konsole does not allow use of national characters in
                    "-e" command argument
    Classification: Unclassified
                OS: Linux
          Reporter: eugene.shalygin at gmail.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: konsole

Created attachment 70174
  --> https://bugs.kde.org/attachment.cgi?id=70174&action=edit
Proposed patch

It is impossible to launch command with national charachters in path via "-e"
konsole switch.

 As for me, the problem is caused by using toLatin1() in Pty::start() when
invoking setProgram() and also not setting proper QTextCodec for c-strings. 

Attached patch fixes the issue but I don't know is it correct way to do that
with respect to QTextCodec. Maybe QTextCodec adjusting has to be moved to
KonsolePart instantiation?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list