kcmdlineargs input decoding

Nick Shaforostoff shaforostoff at gmail.com
Wed Feb 25 16:12:07 GMT 2009


2009/2/25 Thiago Macieira <thiago at kde.org>:
> Em Quarta-feira 25 Fevereiro 2009, às 16:07:06, Nick Shaforostoff escreveu:
>> Attached patch fixes the issue by delaying conversion and moving it to
>> KCmdLineArgs::arg(),
>> as a side affect it switches KCmdLineArgs args processing to use
>> QByteArray internaly,
>> which is a little bit more memory efficient.
>
> We've already added a workaround to make it work with QString, but that
> requires a patch not available for 4.5.0-rc1.
so what about my patch? i believe my patch isn't a workaround, but a
more cleaner solution.
should I commit it?

> In any case, yes, this will remain like that: you're not allowed to use
> QString::{from,to}Local8Bit() before QCoreApplication. The workaround is not
> meant to be used in other applications.




More information about the kde-core-devel mailing list