• Starting Tcl-Script with encoding utf-8 in Tcl 9

    From meshparts@[email protected] to comp.lang.tcl on Mon Sep 15 12:23:58 2025
    From Newsgroup: comp.lang.tcl

    Beforce Tcl 9 I used to start all my Tcl scripts by specifying the
    encoding like this with the help of a batch script with following content:

    start wish.exe -encoding utf-8 scriptname.tcl

    If I undestand right, in Tcl 9 this can be simplified to

    start wish.exe scriptname.tcl

    because the standard ecoding is now utf-8.

    So is it safe to assume that the behavior of the script will be
    identical after removing the ecoding option?

    Thanks
    Alexandru
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Ashok@[email protected] to comp.lang.tcl on Sat Sep 20 08:06:54 2025
    From Newsgroup: comp.lang.tcl

    I believe so.

    On 9/15/2025 3:53 PM, meshparts wrote:
    Beforce Tcl 9 I used to start all my Tcl scripts by specifying the
    encoding like this with the help of a batch script with following content:

    start wish.exe -encoding utf-8 scriptname.tcl

    If I undestand right, in Tcl 9 this can be simplified to

    start wish.exe scriptname.tcl

    because the standard ecoding is now utf-8.

    So is it safe to assume that the behavior of the script will be
    identical after removing the ecoding option?

    Thanks
    Alexandru

    --- Synchronet 3.21a-Linux NewsLink 1.2