Fwd: [Issue N261909] Qt's QTemporaryFile isn't unicode-safe on windows
Andrius da Costa Ribas
andriusmao at gmail.com
Tue Oct 27 21:07:07 CET 2009
---------- Forwarded message ----------
From: <qt-bugs at trolltech.com>
Date: 2009/10/26
Subject: Re: [Issue N261909] Qt's QTemporaryFile isn't unicode-safe on
windows
To: andriusmao at gmail.com
Cc: qt-bugs at trolltech.com
Hi Andrius,
This bug report will be moved to the following new address:
http://bugreports.qt.nokia.com/browse/QTBUG-4796
On Friday, 18. Sep 2009 21:32 andriusmao at gmail.com wrote:
> Name
> Andrius
> Your E-Mail Address
> andriusmao at gmail.com
> Product
> Qt
> Function
> TextHandling
> Version
> 4.6.0-tp
> Platform
> Windows Vista
> Platform details
> Compilers
> GCC
> Compiler details
> Subject
> Qt's QTemporaryFile isn't unicode-safe on windows
> Steps to reproduce / test case
> Some KDE users reported problems when using a MS Windows account name
> with non-latin characters (japanese, chinese etc.)
>
> Christian Ehrlicher pointed in the mailing list:
> ---
> One big reason why it doesn't work is because Qt's QTemporaryFile
> isn't
> unicode-safe on windows. See qtemporaryfile.cpp:352
>
> char *filename = qstrdup(qfilename.toLocal8Bit());
>
> This doesn't work when the locale doesn't contain the used characters.
> And since we're storing all KTemporaryFile's in the user home dir this
> is a very big problem...
> ---
> More information
>
Kind regards,
Stian Sandvik Thomassen, QA Engineer
Qt Development Frameworks, Nokia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20091027/150e6317/attachment.htm
More information about the Kde-windows
mailing list