summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-15 14:48:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-15 14:48:01 (GMT)
commit9ab015e5859e146189c5aa4c789f485b7817d29c (patch)
tree8dec01481fdeedf47c19cad62f6b4d0b5070cb67
parentae0d35c2744747f5e538c9aa52e21289b7eccfc1 (diff)
downloadtcl-9ab015e5859e146189c5aa4c789f485b7817d29c.zip
tcl-9ab015e5859e146189c5aa4c789f485b7817d29c.tar.gz
tcl-9ab015e5859e146189c5aa4c789f485b7817d29c.tar.bz2
Add -encoding utf-8 for tclZIC.tcl tool
-rwxr-xr-xtools/tclZIC.tcl4
1 files 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