Error reading *.cnt eeg file

I’m trying to read a cnt EEG file with and get “UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0x93 in position 6: ordinal not in range(128)”,

When debugging, it looks like this

~/opt/anaconda3/lib/python3.7/site-packages/mne/io/ in read_str(fid, count)
    242                              b'\x00' in data else count]])
--> 244     return str(bytestr.decode('ascii'))  # Return native str type for Py2/3
ipdb> bytestr

any idea what to do?

are you using current master?

can you share the file?

are you sure it’s the correct cnt format? there are 2

Neuroscan CNT data format (.cnt) and ASA CNT formats.

both end .cnt


I have the exact same problem when trying to read an ASA cnt EEG file with
@kingjr did you fix it ?