From 5fd72765d25f4a41dc831d5c0a5d2baee4b3c379 Mon Sep 17 00:00:00 2001
From: dkf <donal.k.fellows@manchester.ac.uk>
Date: Fri, 5 Aug 2005 20:36:16 +0000
Subject: Solaris mis-names the cp1251 encoding.

---
 ChangeLog          | 20 +++++++++++++-------
 unix/tclUnixInit.c |  3 ++-
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 099c47f..481cee6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,21 @@
+2005-08-05  Donal K. Fellows  <dkf@users.sf.net>
+
+	* unix/tclUnixInit.c (localeTable): Solaris uses a non-standard
+	name for the cp1251 charset. Thanks to Victor Wagner for reporting
+	this. [Bug 1252475]
+
 2005-08-05  Kevin Kenny  <kennykb@users.sourceforge.net>
 
-	* win/makefile.vc: Removed unused file ldAout.tcl. 
+	* win/makefile.vc: Removed unused file ldAout.tcl.
 	* win/makefile.bc: [Bug #1244361]
 
 	* tests/binary.test: Cleaned up testing for scanning of NaN.
-	                     [Bug #1246264]
+			     [Bug #1246264]
 
 	* generic/tclBasic.c (ExprAbsFunc): Added code to handle the
 	* tests/expr.test (expr-38.1):      corner case of applying
 	'abs' to the smallest 32-bit integer. [Bug #1241572]
-        
+
 2005-08-04  Andreas Kupries <andreask@activestate.com>
 
 	* generic/tclIO.c (CloseChannel): Fixed comment nit, added
@@ -25,10 +31,10 @@
 
 2005-08-03  Don Porter  <dgp@users.sourceforge.net>
 
-        * generic/tclCompExpr.c:        Untangled some dependencies in the
-        * generic/tclEvent.c:           order of finalization routines.
-        * generic/tclInt.h:             [Bug 1251399]
-        * generic/tclObj.c:
+	* generic/tclCompExpr.c:	Untangled some dependencies in the
+	* generic/tclEvent.c:		order of finalization routines.
+	* generic/tclInt.h:		[Bug 1251399]
+	* generic/tclObj.c:
 
 2005-07-30  Daniel Steffen  <das@users.sourceforge.net>
 
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index c634083..4cc8786 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,7 +7,7 @@
  * Copyright (c) 1999 by Scriptics Corporation.
  * All rights reserved.
  *
- * RCS: @(#) $Id: tclUnixInit.c,v 1.59 2005/07/20 23:16:01 dkf Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.60 2005/08/05 20:36:18 dkf Exp $
  */
 
 #include "tclInt.h"
@@ -141,6 +141,7 @@ typedef struct LocaleTable {
 
 static CONST LocaleTable localeTable[] = {
 	    {"",		"iso8859-1"},
+		    {"ansi-1251",	"cp1251"},
 	    {"ansi_x3.4-1968",	"iso8859-1"},
     {"ascii",		"ascii"},
     {"big5",		"big5"},
-- 
cgit v0.12