Error reading *.cnt eeg file

I’m trying to read a cnt EEG file with mne.io.read_raw_cnt 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/utils.py in read_str(fid, count)
    242                              b'\x00' in data else count]])
    243 
--> 244     return str(bytestr.decode('ascii'))  # Return native str type for Py2/3
ipdb> bytestr
b'QXyK\x08o\x93v\xa6E'

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

Alex

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