[Development] Should we change the default codec of QTextStream to UTF-8?

1+1=2 dbzhang800 at gmail.com
Thu May 24 22:02:54 CEST 2012


On Thu, May 24, 2012 at 12:47 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> You misunderstand Latin 1 then. If you read the contents with Latin1 and write
> using Latin1, you get exactly what you had before. No data is lost.
>

I know Latin1, I just forget that QString::toLocal8Bit() always equals
QString::toLatin1() when  QT_NO_TEXTCODEC is defined.  ;-)

Debao.



More information about the Development mailing list