ANT support shared with me a file which had the string µV set for channel unit, encoded as latin1. This file could thus not be loaded when python tried to decode the string as UTF-8.
The question is, what encoding is the CNT format actually using? Is it using only one encoding or can some fields be encoded with X or Y. I asked ANT's support to look into it, let's see..
If they don't get back to you or if it varies we can add an encoding="latin-1" (or "utf-8") argument. I think we've had to do this for other readers before
ANT support shared with me a file which had the string
µV
set for channel unit, encoded aslatin1
. This file could thus not be loaded when python tried to decode the string as UTF-8.The question is, what encoding is the CNT format actually using? Is it using only one encoding or can some fields be encoded with X or Y. I asked ANT's support to look into it, let's see..