[Kommander-devel] "[PATCH]" Fix 'Passing Unicode strings to external scripts doesn't work'

Fabian Franz FabianFranz at gmx.de
Thu Nov 9 21:55:15 EST 2006


This does not only affect old parser, but also the new one.

The locale seems to be converted twice and this way its somehow "destroyed": (seems UTF-8 is converted to some UNICODE but the rest of the string is not ...)

before patch:

kmdr-executor-12701 AöäüÃA

after patch:

kmdr-executor-12728 AöäüßA

kommanderwidget.cpp:

-  QString text = proc.run(a_command.local8Bit(), a_shell.latin1());
+  QString text = proc.run(a_command, a_shell.latin1());

And the same in functionlib.cpp

fixes the bug for both parsers.

cu

Fabian
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the Kommander-devel mailing list