summaryrefslogtreecommitdiffstats
path: root/library/safe.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/safe.tcl')
-rw-r--r--library/safe.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/safe.tcl b/library/safe.tcl
index 7b85371..d43eef1 100644
--- a/library/safe.tcl
+++ b/library/safe.tcl
@@ -625,14 +625,14 @@ proc ::safe::InterpInit {
# other procedures defined:
if {[catch {::interp eval $child {
- source [file join $tcl_library init.tcl]
+ source -encoding utf-8 [file join $tcl_library init.tcl]
}} msg opt]} {
Log $child "can't source init.tcl ($msg)"
return -options $opt "can't source init.tcl into child $child ($msg)"
}
if {[catch {::interp eval $child {
- source [file join $tcl_library tm.tcl]
+ source -encoding utf-8 [file join $tcl_library tm.tcl]
}} msg opt]} {
Log $child "can't source tm.tcl ($msg)"
return -options $opt "can't source tm.tcl into child $child ($msg)"