diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-25 14:17:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-25 14:17:14 (GMT) |
commit | 29577449a18c6d97285f1f6ba67a00f7c00d2792 (patch) | |
tree | 7939397b65014810c328725b125e4e251c1c9d3d /win | |
parent | 21b10cef381ba4d268e285e46454ccb1529af85d (diff) | |
download | tcl-29577449a18c6d97285f1f6ba67a00f7c00d2792.zip tcl-29577449a18c6d97285f1f6ba67a00f7c00d2792.tar.gz tcl-29577449a18c6d97285f1f6ba67a00f7c00d2792.tar.bz2 |
Use utf-8 as default encoding for configuration information
Diffstat (limited to 'win')
-rwxr-xr-x | win/configure | 3 | ||||
-rw-r--r-- | win/makefile.vc | 2 | ||||
-rw-r--r-- | win/rules.vc | 2 | ||||
-rw-r--r-- | win/tcl.m4 | 3 |
4 files changed, 4 insertions, 6 deletions
diff --git a/win/configure b/win/configure index f099510..b08eb15 100755 --- a/win/configure +++ b/win/configure @@ -3749,8 +3749,7 @@ fi _ACEOF else - # Default encoding on windows is not "iso8859-1" - $as_echo "#define TCL_CFGVAL_ENCODING \"cp1252\"" >>confdefs.h + $as_echo "#define TCL_CFGVAL_ENCODING \"utf-8\"" >>confdefs.h fi diff --git a/win/makefile.vc b/win/makefile.vc index e3de98e..0edeac1 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -116,7 +116,7 @@ #
# CFG_ENCODING=encoding
# name of encoding for configuration information. Defaults
-# to cp1252
+# to utf-8
#
# Examples:
# c:\tcl_src\win\>nmake -f makefile.vc release
diff --git a/win/rules.vc b/win/rules.vc index 61df910..33d6075 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -504,7 +504,7 @@ _VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -ou !endif
!ifndef CFG_ENCODING
-CFG_ENCODING = \"cp1252\"
+CFG_ENCODING = \"utf-8\"
!endif
################################################################
@@ -1085,8 +1085,7 @@ AC_DEFUN([SC_TCL_CFG_ENCODING], [ if test x"${with_tcencoding}" != x ; then AC_DEFINE_UNQUOTED(TCL_CFGVAL_ENCODING,"${with_tcencoding}") else - # Default encoding on windows is not "iso8859-1" - AC_DEFINE(TCL_CFGVAL_ENCODING,"cp1252") + AC_DEFINE(TCL_CFGVAL_ENCODING,"utf-8") fi ]) |