Re: [Interest] Text resources

2022-05-14 Thread Sze Howe Koh
On Sun, 15 May 2022 at 07:24, Turtle Creek Software wrote: > > We just started moving a Mac project to Windows. > > When reading text resources into a QString, the Win version automatically > replaces all /n line endings with /r/n. That screws up our line parsing. Shouldn't it be the other way

[Interest] Text resources

2022-05-14 Thread Turtle Creek Software
We just started moving a Mac project to Windows. When reading text resources into a QString, the Win version automatically replaces all /n line endings with /r/n. That screws up our line parsing. The code creates a QString from QFile:readAll(), and the change happens somewhere in that constructo