Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af8946ba00590a26308f3ba2a5f803ffc85f8e7a
Ticket: 742683ffffffffffffffffffffffffffffffffff
-encoding option for [source] and tclsh
User & Date: a_kovalenko on 2003-05-24 12:38:20
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This patch adds Tcl_FSEvalFileEx public function, which
    takes an encoding as argument and uses it to read the
    script file. Using this function, it adds -encoding
    option to the [source] command and to the tclsh shell.
    tclsh accepts this option in two forms:
    "tclsh -encoding name file"  and "tclsh -encoding:name
    file". The second form is very useful when the script
    begins with "#!/usr/bin/tclsh". In Unix, only one extra
    argument can be taken from "#!" line.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "a_kovalenko"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "-encoding option for [source] and tclsh"
  11. type changed to: "Patch"