Compare commits

...
Author SHA1 Message Date
jan.nijtmans d8d75c32f1 Merge 8.7 2020-03-26 09:48:50 +00:00
jan.nijtmans 210f02a484 Make utf-8 the default encoding for embedded information 2020-03-24 19:31:14 +00:00
8 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ How To Compile And Install Tcl:
for descriptions of the probes made available,
see http://wiki.tcl.tk/DTrace for more details
--with-encoding=ENCODING Specifies the encoding for compile-time
configuration values. Defaults to iso8859-1,
configuration values. Defaults to utf-8,
which is also sufficient for ASCII.
--with-tzdata=FLAG Specifies whether to install timezone data. By
default, the configure script tries to detect
+2 -2
View File
@@ -1430,7 +1430,7 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-encoding encoding for configuration values (default:
iso8859-1)
utf-8)
--with-system-libtommath
use external libtommath (default: true if available,
false otherwise)
@@ -3982,7 +3982,7 @@ _ACEOF
else
$as_echo "#define TCL_CFGVAL_ENCODING \"iso8859-1\"" >>confdefs.h
$as_echo "#define TCL_CFGVAL_ENCODING \"utf-8\"" >>confdefs.h
fi
+2 -2
View File
@@ -2444,14 +2444,14 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [
AC_DEFUN([SC_TCL_CFG_ENCODING], [
AC_ARG_WITH(encoding,
AC_HELP_STRING([--with-encoding],
[encoding for configuration values (default: iso8859-1)]),
[encoding for configuration values (default: utf-8)]),
with_tcencoding=${withval})
if test x"${with_tcencoding}" != x ; then
AC_DEFINE_UNQUOTED(TCL_CFGVAL_ENCODING,"${with_tcencoding}",
[What encoding should be used for embedded configuration info?])
else
AC_DEFINE(TCL_CFGVAL_ENCODING,"iso8859-1",
AC_DEFINE(TCL_CFGVAL_ENCODING,"utf-8",
[What encoding should be used for embedded configuration info?])
fi
])
+1 -1
View File
@@ -92,7 +92,7 @@ typedef struct {
*/
#ifndef TCL_DEFAULT_ENCODING
#define TCL_DEFAULT_ENCODING "iso8859-1"
#define TCL_DEFAULT_ENCODING "utf-8"
#endif
/*
+1 -2
View File
@@ -3750,8 +3750,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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
################################################################
+1 -2
View File
@@ -1097,8 +1097,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
])