diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-08-05 20:48:18 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-08-05 20:48:18 (GMT) |
commit | ae439fa7370d07b215450d9016c40b4196bb0b95 (patch) | |
tree | e49d8f101e7cff9661d03bfc4c3f8a8c5d6fa879 | |
parent | 67c0945cef73efba280dda5e10e75f8f740ca1ae (diff) | |
download | tcl-ae439fa7370d07b215450d9016c40b4196bb0b95.zip tcl-ae439fa7370d07b215450d9016c40b4196bb0b95.tar.gz tcl-ae439fa7370d07b215450d9016c40b4196bb0b95.tar.bz2 |
Solaris mis-names the cp1251 encoding.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tclUnixInit.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-08-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * 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> * generic/tclExecute.c (TclExecuteByteCode): Fixed a corner case diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index a47e763..e63160d 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.34.2.8 2005/05/24 04:20:12 das Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.9 2005/08/05 20:48:19 dkf Exp $ */ #if defined(HAVE_COREFOUNDATION) @@ -81,6 +81,7 @@ typedef struct LocaleTable { static CONST LocaleTable localeTable[] = { #ifdef HAVE_LANGINFO {"gb2312-1980", "gb2312"}, + {"ansi-1251", "cp1251"}, /* Solaris gets this wrong. */ #ifdef __hpux {"SJIS", "shiftjis"}, {"eucjp", "euc-jp"}, |