From: <no...@tc...> - 2025-10-07 09:48:49
|
Automated mail by fx, on behalf of no...@tc... Ticket Change [51ca4e6e7d5dc1d9e9d5d1b314a79db2002fab777499627259a7b736675cbd7b] ["crc32 -filename $name" end in error on files with special content (not encoding problem)] By oehhar For Tcllib On 2025-10-07T09:38:20.349 Details https://core.tcl-lang.org/tcllib/tinfo?name=51ca4e6e7d5dc1d9e9d5d1b314a79db2002fab777499627259a7b736675cbd7b Ticket https://core.tcl-lang.org/tcllib/tktview/7bd2d439ca61da14a9fc5e8372e5fb1f86c28ff1 Changed Fields icomment: Thanks for the ticket. I have never used this and I am not involved. I suppose, a CRC is only supported for data with values 0 to 255, so no unicode support. If unicode should be CRC'd, one should use an encoding. For example: ::crc::crc32 -data [encoding convertto utf-8 $data] Take care, Harald login: oehhar username: oehhar ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |