summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 10:30:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 10:30:05 (GMT)
commit33918a2b0b4bd10fb1defc2f141b73d20565f40a (patch)
tree902e0181ac4a847bec1e88169327b3295e39f606 /unix
parent6459a50433a6f175cfce01066b1cdb5e1f3e7c8f (diff)
parent09fd21b65b23d0d8ee709bb09cc48d0d4829db90 (diff)
downloadtcl-33918a2b0b4bd10fb1defc2f141b73d20565f40a.zip
tcl-33918a2b0b4bd10fb1defc2f141b73d20565f40a.tar.gz
tcl-33918a2b0b4bd10fb1defc2f141b73d20565f40a.tar.bz2
TIP #587: Default utf-8 for source command
Diffstat (limited to 'unix')
-rw-r--r--unix/README2
-rwxr-xr-xunix/configure4
-rw-r--r--unix/tcl.m44
3 files changed, 5 insertions, 5 deletions
diff --git a/unix/README b/unix/README
index 3340dc6..3c1a207 100644
--- a/unix/README
+++ b/unix/README
@@ -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
diff --git a/unix/configure b/unix/configure
index 60d60cb..62b1257 100755
--- a/unix/configure
+++ b/unix/configure
@@ -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
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 8ee17e1..9f68967 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2445,14 +2445,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
])