Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fconfigure -encoding now case sensitive

Closed / Fixed1077179fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-01 23:55:02
cvs HEAD has a script-level incompatibility with older
versions of Tcl.  Encoding names on all platforms are
now case-sensitive.

Previously the case-sensitivity depended on the
case-sensitivity of the underlying filesystem (i.e.
typically not case-sensitive on Windows and MacOS,
MacOS X).

At the very least the changelog should make this
incompatibility clear.  Otherwise the behaviour should
be reverted to the old approach.

I have no real preference for either, but I do have at
least 1 piece of code which is affected (but easily fixed).
dkfplain2004-12-02 07:42:57
Logged In: YES 
user_id=79902

The whole thing looks like pilot error to me, but I'm not an
encoding maintainer
dgpplain2004-12-02 08:47:48
Logged In: YES 
user_id=80530

well, encoding names in scripts 
have always had
to be in proper case to port
successfully to unix.

Most compatible thing we can do
is shift all values to lowercase
as they come in to make them
case insensitive everywhere
Will consider that after 8.5a2
release.  Will be interesting to
see how much comment we get
on this matter.
vincentdarleyplain2004-12-02 17:38:15
Logged In: YES 
user_id=32170

I've no problem with the new behaviour, since it is more
consistent cross-platform.  However, the ChangeLog should
document that this has changed (anywhere with a
case-insensitive filesystem, which can be Unix too -- e.g.
Darwin/MacOS X).
dgpplain2005-04-14 20:53:40
Logged In: YES 
user_id=80530


Can you check the HEAD of Tcl and see
whether this is still an issue?
vincentdarleyplain2005-04-14 22:43:42
Logged In: YES 
user_id=32170

Indeed, CVS head now accepts things case-insensitively, at
least on WinXP.
dgpplain2005-04-14 22:46:37
Logged In: YES 
user_id=80530


ok, I think we're back to the
status quo ante then 
(case sensitive on unix, 
insensitive on Windows)

Feel free to re-open if needed.
Closing now.
Log in (anonymous is fine) to add a comment.