| Ticket UUID: | dc23c6419310c5f4d1d08c8681773e482e7a43b1 | ||
| Title: | [read] fails, on encoding error, but current position advances anyway. | ||
| Type: | Bug | Created on: | 2023-04-08 11:26:50 |
| Submitter: | pooryorick | Assigned to: | nobody |
| Subsystem: | - New Builtin Commands | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2023-04-08 11:27:22 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | |||
| Description: | ||||
|
Given the following script,
, there is an invalid utf-8 sequence starting at position 5. On such a failure, either the position in the file should remain what it was before the unsuccessful read, or the result up to byte 5 should be made available to the caller. | ||||
