We upgraded from 5.5 on HPUX to 5.7 on Linux, and we’re seeing an issue with reading and writing files from TCL. On the old version, we could read and write binary data to and from files without issue. On the new version, binary data is corrupted when we try to do this. We have to first call fconfigure to set the translation to binary. I couldn’t find anything in the 5.6 or 5.7 release notes about this. Has anyone else run into this problem?
I did a quick check on the default file channel settings between the two systems, and they both have translation set to “lf”, but the old system uses “utf-8” encoding and the new system uses “iso8859-1” encoding.