Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: db2a98bb6cf704a1dcc737d40730d3cb95d5f854cd4619616742969addab3e59
Ticket: 165b10396273d81c7bcef3e564537a39eba7404b
Error message of "TclGetBytesFromObj" may include arbitrary character
User & Date: apnadkarni on 2026-05-25 16:38:24
Changes

  1. icomment:
    I agree with Harald. On encoding errors, I don't think we should attempt to print the failing bytes as characters. Question is what the message wording should be. Is the below acceptable to all. It would be nice to agree before changing the strings in the test cases!
    
    ```
    % encoding convertfrom iso8859-1 \u0141
    expected code point values below 0xff but value at byte offset 0 was 0x141
    ```
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"