Index: generic/tclEncoding.c
===================================================================
RCS file: /cvsroot/tcl/tcl/generic/tclEncoding.c,v
retrieving revision 1.63
diff -u -r1.63 tclEncoding.c
--- generic/tclEncoding.c	22 Oct 2008 20:23:59 -0000	1.63
+++ generic/tclEncoding.c	23 Oct 2008 20:34:11 -0000
@@ -565,9 +565,12 @@
     type.freeProc	= NULL;
     type.nullSize	= 1;
     type.clientData	= NULL;
+    Tcl_CreateEncoding(&type);
 
+/*
     defaultEncoding	= Tcl_CreateEncoding(&type);
     systemEncoding	= Tcl_GetEncoding(NULL, type.encodingName);
+*/
 
     type.encodingName	= "utf-8";
     type.toUtfProc	= UtfExtToUtfIntProc;
@@ -626,7 +629,9 @@
 	type.freeProc		= TableFreeProc;
 	type.nullSize		= 1;
 	type.clientData		= dataPtr;
-	Tcl_CreateEncoding(&type);
+	/*Tcl_CreateEncoding(&type);*/
+	defaultEncoding	= Tcl_CreateEncoding(&type);
+	systemEncoding	= Tcl_GetEncoding(NULL, type.encodingName);
     }
 
     encodingsInitialized = 1;
