Overview
| Artifact ID: | b262cebb8f60806a39d49c9973a9722df066ceb5152ce5cae9806146c446b93e |
|---|---|
| Ticket: | 4a7397e0b3d60f1aebf50331b748da9493dba07d
Tcl 9: fcopy with -strictencoding 1 UTF-8 channels |
| User & Date: | pointsman on 2023-01-26 02:13:34 |
Changes
- icomment:
I don't read this in the documentation. The only according quote I find is "No conversion is done if both channels are set to encoding “binary” and have matching translations" which seems to me to be something else (binary versus UTF-8 with explicit -strict configured channel). And the argument "encoding matches" is void if the involved channels are fconfigured to, say, UTF-8 and UTF-16. Of course every behaviour could be documented "away" - write what it does in the documentation. But's not necessarily a good solution. If I fconfigure my channel with -strict 1 I clearly said that I want to be informed about encoding errors. You can define that away by documentation. But I think this is wrong. Jan is right, fcopy should throw execption.
- login: "pointsman"
- mimetype: "text/plain"