Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-02-21
21:51 • Closed ticket [219299ffff]: Inconsistency path manner between SetDefaultEncodi... artifact: a224f72251 user: dgp
2005-10-03
23:01 • Ticket [219299ffff]: 4 changes artifact: 7a41cc380a user: dgp
2004-12-10
01:42 • Ticket [219299ffff]: 4 changes artifact: ff9969c8b9 user: dgp
2003-11-13
06:06 • Ticket [219299ffff]: 1 change artifact: 8a85b24f1b user: dgp
2001-04-06
03:07 • Ticket [219299ffff]: 1 change artifact: c9bcb6d77a user: dgp
03:05 • Ticket [219299ffff]: 2 changes artifact: 881fa9db06 user: dgp
2000-10-26
05:10 • New ticket [219299ffff]. artifact: 18c52d1ab2 user: nobody

Inconsistency path manner between SetDefaultEncoding and O

Closed / Fixed219299ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 21 years ago
Descriptionplain2000-10-26 05:10:21
OriginalBugID: 2639 RFE
Version: 8.2b2
SubmitDate: '1999-08-31'
LastModified: '1999-11-11'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Tomo Furuya

ReproducibleScript:
This is a "Request for Enhancement". 

Tcl_SetDefaultEncoding [generic/tclEncoding.c] function will 
have to expect a path to encoding directory to exclude "encoding", 
while those function names may imply to expect the path to be including
"/encoding" unless see the code of OpenEncodingFile function 
, adding "encoding" to the library path internally.

ObservedBehavior:
Developers writing applications with a build-in TCL interpreter 
and using multiple encodings may be confused by what
Tcl_[Set|Get]DefaultEncodingDir functions imply.

DesiredBehavior:
Trimming "/encoding" from the parameter passed to the
Tcl_SetDefaultEncoding if included?
dgp Ticket [219299ffff]: 2 changes [History diff]2001-04-06 03:05:52
dgp Ticket [219299ffff]: 1 change [History diff]2001-04-06 03:07:01
dgp Ticket [219299ffff]: 1 change [History diff]2003-11-13 06:06:30
dgpplain2004-12-10 01:42:55
Logged In: YES 
user_id=80530


There are new (internal for now)
routines in Tcl 8.5a2,
Tcl(Get|Set)EncodingSearchPath()
that answer this request.
dgpplain2005-10-03 23:01:32
Logged In: YES 
user_id=80530

TIP 258
dgp Closed ticket [219299ffff]. [History diff]2006-02-21 21:51:57
Log in (anonymous is fine) to add a comment.