summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.