diff options
Diffstat (limited to 'generic/tclInt.h')
| -rw-r--r-- | generic/tclInt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 9c7ad17..89a3f4c 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -2878,6 +2878,13 @@ typedef Tcl_Channel (TclOpenFileChannelProc_)(Tcl_Interp *interp, typedef void (TclInitProcessGlobalValueProc)(char **valuePtr, TCL_HASH_TYPE *lengthPtr, Tcl_Encoding *encodingPtr); +MODULE_SCOPE Tcl_Encoding TclUtf8Encoding; /* static encoding for "UTF-8" */ +#ifdef _WIN32 +# define TCLFSENCODING TclUtf8Encoding /* On Windows, all Unicode (except surrogates) are valid */ +#else +# define TCLFSENCODING NULL /* On Non-Windows, use the system encoding for validation checks */ +#endif + /* * A ProcessGlobalValue struct exists for each internal value in Tcl that is * to be shared among several threads. Each thread sees a (Tcl_Obj) copy of @@ -3035,7 +3042,6 @@ TclEncodingProfileNameToId(Tcl_Interp *interp, int *profilePtr); MODULE_SCOPE const char *TclEncodingProfileIdToName(Tcl_Interp *interp, int profileId); -MODULE_SCOPE int TclEncodingSetProfileFlags(int flags); MODULE_SCOPE void TclGetEncodingProfiles(Tcl_Interp *interp); /* |
