summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-05-12 07:45:15 (GMT)
committersebres <sebres@users.sourceforge.net>2017-05-12 07:45:15 (GMT)
commit4213f85e6c843588364c0e410e57e31c6d3ce9d1 (patch)
treeef469854a335991fdc3c55addf6de188f28b6286
parent9c678f82564dc26c67a0c6428f2349ce34b62f3d (diff)
downloadtcl-4213f85e6c843588364c0e410e57e31c6d3ce9d1.zip
tcl-4213f85e6c843588364c0e410e57e31c6d3ce9d1.tar.gz
tcl-4213f85e6c843588364c0e410e57e31c6d3ce9d1.tar.bz2
restored "-encoding utf-8" by source clock.tcl (lost by merging)
-rw-r--r--library/init.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index d2c3b6e..de69730 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -191,7 +191,9 @@ if {[interp issafe]} {
uplevel 1 [info level 0]
}
# Auto-loading stubs for 'clock.tcl'
- set ::auto_index_ns(::tcl::clock) {::namespace inscope ::tcl::clock {::source [::file join [info library] clock.tcl]}}
+ set ::auto_index_ns(::tcl::clock) {::namespace inscope ::tcl::clock {
+ ::source -encoding utf-8 [::file join [info library] clock.tcl]
+ }}
}
# Conditionalize for presence of exec.