Overview
| Artifact ID: | 574953e3f1397fb5816f2d72473fb7c56cf7c6b63e9c1fb94310bcd59a474fd5 |
|---|---|
| Ticket: | 0f1ddc0df7fb734cf1cba12ac7c529d29fefb842
exec fails on encoding errors present in the output of the executed command |
| User & Date: | anonymous on 2023-11-27 15:57:26 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
If executing the diff program with command exec on two files with different encodings, the output of diff cannot be read with Tcl9. The following error message is generated: invalid or incomplete multibyte or wide character The problem occurres using tkdiff and can be reproduced by the following script: <code> puts "Using Tcl [info patchlevel]" set cmd "diff iso8859.txt utf8.txt" catch {eval ::exec $cmd} ret puts "ret=$ret" </code> Test files will be attached. Paul - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "2e499ca9e0149983f6f63603feedc5b33bc05f5e"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "16. Commands A-H"
- title changed to: "exec does not handle encoding"
- type changed to: "Bug"