kcmdlineargs input decoding

Allen Winter winter at kde.org
Sun Mar 15 14:29:08 GMT 2009


On Wednesday 25 February 2009 10:07:06 am Nick Shaforostoff wrote:
> Hi. Opening files with non-ASCII names via cmd line in any KDE app
> isn't possible on my system,
> as args are misencoded due to QString::fromLocal8Bit() returning
> different data before and after QApplication creation.
> 
> 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.
> 
> Please review.
> 

Some form of this patch has been committed. Right?

-- 
Allen Winter | Software Engineer | 1-888-872-9339
KDAB, Inc. | "Platform-independent software solutions"
http://kdab.com | 1-866-777-5322 (US) | +46-563-540090 (Sweden)




More information about the kde-core-devel mailing list