<div>FYI [Wow, I've only received the feedback today!! ( bug report was sent on September 18 )]</div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:qt-bugs@trolltech.com">qt-bugs@trolltech.com</a>></span><br>
Date: 2009/10/8<br>Subject: Re: [Issue N261909] Qt's QTemporaryFile isn't unicode-safe on windows<br>To: <a href="mailto:andriusmao@gmail.com">andriusmao@gmail.com</a><br>Cc: <a href="mailto:qt-bugs@trolltech.com">qt-bugs@trolltech.com</a><br>
<br><br>Hi Andrius,<br>
<br>
Bug report created:<br>
<br>
<a href="http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=261944" target="_blank">http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=261944</a><br>
<br>
<br>
On Friday, 18. Sep 2009 21:32 <a href="mailto:andriusmao@gmail.com">andriusmao@gmail.com</a> wrote:<br>
> Name<br>
> Andrius<br>
> Your E-Mail Address<br>
> <a href="mailto:andriusmao@gmail.com">andriusmao@gmail.com</a><br>
> Product<br>
> Qt<br>
> Function<br>
> TextHandling<br>
> Version<br>
> 4.6.0-tp<br>
> Platform<br>
> Windows Vista<br>
> Platform details<br>
> Compilers<br>
> GCC<br>
> Compiler details<br>
> Subject<br>
> Qt's QTemporaryFile isn't unicode-safe on windows<br>
> Steps to reproduce / test case<br>
> Some KDE users reported problems when using a MS Windows account name<br>
> with non-latin characters (japanese, chinese etc.)<br>
><br>
> Christian Ehrlicher pointed in the mailing list:<br>
> ---<br>
> One big reason why it doesn't work is because Qt's QTemporaryFile<br>
> isn't<br>
> unicode-safe on windows. See qtemporaryfile.cpp:352<br>
><br>
> char *filename = qstrdup(qfilename.toLocal8Bit());<br>
><br>
> This doesn't work when the locale doesn't contain the used characters.<br>
> And since we're storing all KTemporaryFile's in the user home dir this<br>
> is a very big problem...<br>
> ---<br>
> More information<br>
><br>
<br>
<br>
Kind regards,<br>
<br>
Stian Sandvik Thomassen, QA Engineer<br>
Qt Development Frameworks, Nokia<br>
</div><br>