Artifact
99726b98fc3d7c4f68618b634e47a47be5ffe30fb2aee4b4a767f0d98101683e:
Ticket change
[99726b98fc]
- Ticket [7bd2d439ca61da14|7bd2d439ca] <i>"crc32 -filename $name" end in error on files containing wrong encodings</i> status still Open with 4 other changes
by
anonymous
2025-08-04 20:12:25.
(unpublished)
D 2025-08-04T20:12:25.845
J assignee
J comment Old\sTcl\sscripts\srunning\son\s8.6.x+\swith\scorresponding\sTcllib\sfor\scrc32\spackage\sread\sthe\sfiles\sregardless\sof\stheir\sencoding\sor\swith\sthe\ssystem\sencoding.\r\nNow\swith\sTcl\s9.0.1\sand\scorresponding\sTcllib\sthe\scrc32\spackage\sdo\sthe\ssame,\sbut\sthe\score\schecks\sfor\swrong\sencoding\son\sread\sof\sfile's\scontent.\r\nThe\serror\smessage\sfrom\s"crc::crc32"\swith\sused\soption\s"-filename"\sgives\son\ssome\sfiles\s"invalid\sinteger"\sthan\sa\schecksum.\r\nAll\sthese\sfiles\shave\snot\sthe\ssame\sencoding\sas\sused\sfrom\ssystem\sand/or\ssimple\scompatible\s(ASCII)\stext.\r\nMaybe\snew\soptions\sfor\sencoding\s(and/or\sbinary\sor\snot)\sare\sneeded?\r\nBest\ssolution\sfor\snow\sis\snot\sto\suse\sthe\sconvenient\sway:\sopen\sfile\sfor\sthem\sself,\sfconfigure\sit\sto\sthe\sright\sencoding\sor\sbinary,\sand\sfinally\srun\scrc32\swith\sthis\shandle,\safterwards\sclosing\sfile\sand\sunset\sused\stemporary\svariables.\r\n(Please\sset\sthe\sVersion\sfor\sTcl\s9.0.1,\sI\suse\son\sActiveTcl\s8.6.4.1\scrc32\s1.3.2\sand\sfound\sit\son\sBAWT-distribution\s3.0.1,\sthanks.)\r\nBest\sgreetings,\sThomas\s[TWu]
J login anonymous
J mimetype text/plain
K 7bd2d439ca61da14a9fc5e8372e5fb1f86c28ff1
U anonymous
Z be10d508b85b73cc32088c625b66304d