Skip to content
Tcl Source Code View Ticket
Login

View Ticket

need a way to control default file encoding separately from

Closed / Invalid217851ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:44:53
OriginalBugID: 1927 RFE
Version: 8.1
SubmitDate: '1999-04-23'
LastModified: '2000-05-17'
Severity: SER
Status: Closed
Submitter: stanton
ChangedBy: hobbs
RelatedBugIDs: 4226
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '2000-05-17'


There is currently no way to specify the default encoding used by 'source'.  People have been trying to use "encoding system" to do this, but that is dangerous since it also changes the encoding used with system calls.

A better solution is to add "encoding files" that separately controls the default encoding used by file channels (open/source).

For convenience we should also add a "source -encoding" option so people can specify the encoding directly on a given source command.
welch Closed ticket [217851ffff]. [History diff]2000-10-26 07:59:47
dgp Open ticket [217851ffff]. [History diff]2001-04-06 03:41:19
dgpplain2001-04-06 03:43:31
Logged In: YES 
user_id=80530

Dup of 219229
Log in (anonymous is fine) to add a comment.