Old Tcl scripts running on 8.6.x+ with corresponding Tcllib for crc32 package read the files regardless of their encoding or with the system encoding.
Now with Tcl 9.0.1 and corresponding Tcllib the crc32 package do the same, but the core checks for wrong encoding on read of file's content.
The error message from "crc32::crc32" with used option "-filename" gives on some files "invalid integer" than a checksum.
All these files have not the same encoding as used from system and/or simple compatible (ASCII) text.
Maybe new options for encoding (and/or binary or not) are needed?
Best solution for now is not to use the convenient way: open file for them self, fconfigure it to the right encoding or binary, and finally run crc32 with this handle, afterwards closing file and unset used temporary variables.
(Please set the Version for Tcl 9.0.1, I use on ActiveTcl crc32 1.3.2 and found it on BAWT-distribution 3.0.1, thanks.)
Best greetings, Thomas [TWu]