Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-04-14
22:46 • Closed ticket [1077179fff]: fconfigure -encoding now case sensitive plus 7 o... artifact: b726591297 user: dgp
22:43 • Ticket [1077179fff]: 4 changes artifact: 236a3c0108 user: vincentdarley
20:53 • Ticket [1077179fff]: 4 changes artifact: d067728f78 user: dgp
2004-12-02
17:38 • Ticket [1077179fff]: 4 changes artifact: 751cfb5b5a user: vincentdarley
08:47 • Ticket [1077179fff]: 5 changes artifact: b5ada2f998 user: dgp
07:42 • Ticket [1077179fff]: 6 changes artifact: 05156d2bf3 user: dkf
2004-12-01
23:55 • New ticket [1077179fff]. artifact: 31834db1ff user: vincentdarley

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.