diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-15 06:53:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-15 06:53:44 (GMT) |
commit | e4ae82c683effad2872e85ebc21182a4407b6fb3 (patch) | |
tree | 10304b4b41302c044dbbba7c53cb0352900972bb /win | |
parent | 4e52068463e3e9fb3e0ba7fd9daa0b52a9858d49 (diff) | |
download | tcl-e4ae82c683effad2872e85ebc21182a4407b6fb3.zip tcl-e4ae82c683effad2872e85ebc21182a4407b6fb3.tar.gz tcl-e4ae82c683effad2872e85ebc21182a4407b6fb3.tar.bz2 |
3 places where TCLFSENCODING is not appropricate (use system-encoding, not utf-8, on Windows)
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index fd183cf..9f889b2 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -679,7 +679,7 @@ TclpCreateTempFile( * Convert the contents from UTF to native encoding */ - if (Tcl_UtfToExternalDStringEx(NULL, TCLFSENCODING, contents, TCL_INDEX_NONE, 0, &dstring, NULL) != TCL_OK) { + if (Tcl_UtfToExternalDStringEx(NULL, NULL, contents, TCL_INDEX_NONE, 0, &dstring, NULL) != TCL_OK) { goto error; } native = Tcl_DStringValue(&dstring); |