Overview
| Artifact ID: | fae67b50a65dbe79e23acd9afcb507136fb79372e6afdc84f6ed5d147981a795 |
|---|---|
| Ticket: | 4a7397e0b3d60f1aebf50331b748da9493dba07d
Tcl 9: fcopy with -strictencoding 1 UTF-8 channels |
| User & Date: | jan.nijtmans on 2023-02-12 01:10:21 |
Changes
- icomment:
Fixed in [8b772479c3]. More testcases would be welcome, e.g. testing whether the input/output channels after the fcopy have the correct file position: If an exception is thrown, the file position is expected to be exactly on the position where the encoding error occurred. And - in case of an encoding error on input - the characters received so far should be written to the output channel. I think it should work, but this is not thoroughly tested. It's entirely new functionality. Someone willing to help?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"