# these are here to test gbfile utf16 reads.

# Assumes nmea reader is still using gbgetstr.
# These are handcrafted input files, they may not be legal nmea files.
#   with \d line endings
gpsbabel -i nmea -f ${REFERENCE}/track/nmea_utf16 -o gpx -F ${TMPDIR}/nmea_utf16.gpx
compare ${REFERENCE}/track/nmea.gpx ${TMPDIR}/nmea_utf16.gpx
#   with \r\n line endings
gpsbabel -i nmea -f ${REFERENCE}/track/nmea_utf16_dos -o gpx -F ${TMPDIR}/nmea_utf16_dos.gpx
compare ${REFERENCE}/track/nmea.gpx ${TMPDIR}/nmea_utf16_dos.gpx
#   with a unicode character from the supplemental plane encoded in utf16le.
gpsbabel -i nmea -f ${REFERENCE}/testsupplementalplane.nmea -o unicsv -F ${TMPDIR}/testsupplementalplane.csv
compare ${REFERENCE}/testsupplementalplane.csv ${TMPDIR}/testsupplementalplane.csv
