[Interest] Certain QTextCodecs causing crashes on Linux
Scott Aron Bloom
scott.bloom at onshorecs.com
Wed Jul 31 23:50:49 CEST 2013
Not if the source file had Chinese characters embedded into a normal ascii file...
-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: Wednesday, July 31, 2013 1:30 PM
To: interest at qt-project.org
Subject: Re: [Interest] Certain QTextCodecs causing crashes on Linux
On quarta-feira, 31 de julho de 2013 19:24:28, Scott Aron Bloom wrote:
> QByteArray data = fi.readLine()
> QString contents = QString::fromLocal8Bit( currData ) setPlainText(
> contents )
>
> Would the other setCodec functions be better ?
You shouldn't set any codec for the above. It's working already.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list