GPSBabel / gpsbabel

GPSBabel: convert, manipulate, and transfer data from GPS programs or GPS receivers. Open Source and supported on MacOS, Windows, Linux, and more. Pointy clicky GUI or a command line version...
https://www.gpsbabel.org
GNU General Public License v2.0
452 stars 125 forks source link

Style constant CR incorrectly mapped for style files #1281

Closed crispyjones closed 1 month ago

crispyjones commented 1 month ago

Not possible to use the CR (carriage return) constant in custom style file as it is mapped to \n instead of \r

https://github.com/GPSBabel/gpsbabel/blob/15d3d22d85faf595e4ae05e34dc6b598c6637277/xcsv.cc#L170

tsteven4 commented 1 month ago

Thanks. That error had been present since the xcsv format was introduced in 2003! https://github.com/GPSBabel/gpsbabel/commit/56bd460f3 Will fix shortly.