summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index d54fa6b..562d28b 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -4240,6 +4240,8 @@ ScriptLibrarySetup(
Tcl_IncrRefCount(searchPathObj);
Tcl_SetEncodingSearchPath(searchPathObj);
Tcl_DecrRefCount(searchPathObj);
+ /* Bug [fccb9f322f]. Reinit system encoding after setting search path */
+ TclpSetInitialEncodings();
return libDirObj;
}