summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-05-15 18:35:36 (GMT)
committersebres <sebres@users.sourceforge.net>2017-05-15 18:35:36 (GMT)
commit072ced07bed0a287c473e942e7249ec197709cda (patch)
tree485046a620e9526e9f10aa31a8acad6cb6edf7d2 /library
parent176f58d94fc581670638cccd451aab3bc9572e99 (diff)
parent9f5e6e9b5ff1c04538705d20e601b16c4df821e5 (diff)
downloadtcl-072ced07bed0a287c473e942e7249ec197709cda.zip
tcl-072ced07bed0a287c473e942e7249ec197709cda.tar.gz
tcl-072ced07bed0a287c473e942e7249ec197709cda.tar.bz2
merge sebres-8-6-clock-speedup
Diffstat (limited to 'library')
-rw-r--r--library/init.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 16ff485..fc88a72 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -193,7 +193,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.