Mac, Importing Scubapro SmartTrak divelogs

Miika Turkia miika.turkia at
Tue Aug 15 22:25:58 PDT 2017

On Tue, Aug 15, 2017 at 6:50 PM, Salvador Cuñat
<salvador.cunat at> wrote:
> 2017-08-15 16:49 GMT+02:00 Salvador Cuñat <salvador.cunat at>:
>> The crashes come from the weird windows line breaks. This file has just \r
>> instead of the usual \r\n.
> Yes, yes, it's not a windows but a mac file, coming from a mac software.
> ;-)

Is it really so that mac uses carriage return (\r) as line terminator?
I only have seen either line-feed (\n) or in Windows combination of
these two \r\n.

Qt's readLine function does not understand \r as new line and thus our
parsing fails miserably with this file.


More information about the subsurface mailing list