[Interest] QTextStream, QIODevice::Text and line endings convertation
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 17 21:24:43 CET 2015
On Tuesday 17 November 2015 23:17:14 Igor Mironchik wrote:
> Line endings doesn't convert to \n as should be. On Windows with MSVC
> 2013 if read that data from file then "NAME :\r" even doesn't recognize
> as line ending at all...
Line ending conversion only applies when read from a QIODevice. It assumes
you've already done the conversion by the time you got the data into a
QString.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list