Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f76aa1484fc0885d3670ddda93e56f67630caa8d2816a3b6db4089755f7782d8
Ticket: 535705ffffffffffffffffffffffffffffffffff
Tcl interface to stop on encoding errors
User & Date: jan.nijtmans on 2021-04-01 13:57:33
Changes

  1. icomment:
    Experimental implementation added: -stoponerror is now the default if Tcl is compiled with -DTCL_NO_DEPRECATED.
    
    Demo (macOS with utf-8 as system-encoding): 
    <pre>
        $ tclsh
        % puts \uFFFF
        error writing "stdout": invalid argument
    </pre>
    
    So it works, but error-message can be still improved a lot.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"