Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c419b5ca92796debad765ae7c6de406d7335243186d6057453405e5949de7857
Ticket: 5d70d14a092160d19d913d8fa2b36a01e1c3a9b4
tcltest: test result differs for different singleproc values
User & Date: jan.nijtmans on 2025-01-11 23:03:46
Changes

  1. icomment:
    Let me guess. What does "encoding system" give on your system? Does it look like?:
    <pre>
    $ tclsh86
    % encoding system
    cp1252
    </pre>
    If so, the answer with -singleproc is wrong, the default run is right. Since the source-file is considered cp1252, the length of the string is indeed 6.
    
    What we can do is sourcing "all.tcl" in utf-8 regardless of the system-encoding. See [5e8914a8ad|here]
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"