summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
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)
commit0adb50f88bf8f3e5220dce66339ccc62c6139d28 (patch)
treeef469854a335991fdc3c55addf6de188f28b6286 /library/init.tcl
parent0ec19f6b1194fb374ddf9865375671b07033d9e1 (diff)
downloadtcl-0adb50f88bf8f3e5220dce66339ccc62c6139d28.zip
tcl-0adb50f88bf8f3e5220dce66339ccc62c6139d28.tar.gz
tcl-0adb50f88bf8f3e5220dce66339ccc62c6139d28.tar.bz2
restored "-encoding utf-8" by source clock.tcl (lost by merging)
Diffstat (limited to 'library/init.tcl')
-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.