Overview
| Artifact ID: | 45c06c1afc54a37c20231a2bacb127ed19a20a8734e50dc5dd68c8b819cbed9f |
|---|---|
| Ticket: | 52b83aa279de717a047f80c71945b4dc94b15912
tcl9.0 finds wide character but doesn't report line number |
| User & Date: | anonymous on 2023-11-23 22:15:56 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I had a very long tcl file full of code snippets, inside if { 0 } { ;#comment ... } which I use to test out new code. Somehow it got 2 chars corrupted into the byte 0xB0 and so it gave the error: couldn't read file: <filename> invalid or incomplete multibyte or wide character I guess this is new to tcl9.0 as prior versions, even 8.7, don't mind this in the file. The problem is, however, that tcl doesn't provide the line number of where the problem is, and so it took a tedious binary chop/search to find the line that had got corrupted. And since there were 2 places, it was more difficult to find, luckily my editor was able to search for the mangled byte. I think that is a bug and it should be fixed. - foundin changed to: "9.0 prebeta"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "45. Parsing and Eval"
- title changed to:
tcl9.0 finds wide character but doesn't report line number
- type changed to: "Bug"