From 9ab015e5859e146189c5aa4c789f485b7817d29c Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 15 Apr 2024 14:48:01 +0000 Subject: Add -encoding utf-8 for tclZIC.tcl tool --- tools/tclZIC.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tclZIC.tcl b/tools/tclZIC.tcl index 71242d6..1db7441 100755 --- a/tools/tclZIC.tcl +++ b/tools/tclZIC.tcl @@ -1263,7 +1263,7 @@ proc writeZones {outDir} { # Write the data to the information file set f [open $fileName w] - fconfigure $f -translation lf + fconfigure $f -translation lf -encoding utf-8 puts $f "\# created by $::argv0 - do not edit" puts $f "" puts $f [list set TZData(:$zoneName) $data] @@ -1316,7 +1316,7 @@ proc writeLinks {outDir} { # Write the file set f [open $fileName w] - fconfigure $f -translation lf + fconfigure $f -translation lf -encoding utf-8 puts $f "\# created by $::argv0 - do not edit" puts $f $ifCmd puts $f $setCmd -- cgit v0.12