Small corrections :
- when opening the device (QFile or any QIODevice) in Text mode, you can just use the LF ('\n') character as it is automatically converted into local line endings (may it be LF, CR or CRLF)
- conversely, when reading a file opened in Text mode local line endings are converted into LF to make it easier to process the content without having to mess with line endings
- this issue is purely independent of Qt, nowadays most applications are able to read files of any line endings (even Wordpad does it)
Bookmarks