Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-09-30
01:00 • Ticket [1374695fff] better support for common encoding names status still Op... artifact: 8b28cc5625 user: msofer
2006-06-21
03:35 • Ticket [1374695fff]: 4 changes artifact: d741210874 user: dgp
2005-12-06
18:33 • New ticket [1374695fff]. artifact: ef21189068 user: dgp

better support for common encoding names

Open1374695fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2005-12-06 18:33:46
Tcl's routines that accept a
encoding name values -- such
as Tcl_GetEncoding and
Tcl_SetSystemEncoding and
the script level
[fconfigure ... -encoding] --
accept only those names
corresponding to data files
in Tcl's library/encoding
directory, plus a few built-in
encodings, plus whatever encodings
are added by Tcl_CreateEncoding.

There are many more names
for encodings that Tcl does not
accept, including many listed
in

 http://www.iana.org/assignments/character-sets

which many Tcl programmers take to
be the "standard names" for encodings.

We should look for ways to better
support the names for encodings that
are familar to programmers instead
of forcing them to learn our quirky
aggregated encoding names.

Some work in the direction is already
done on unix systems when determining
the inital [encoding system] value.
dgpplain2006-06-21 03:35:31
Logged In: YES 
user_id=80530

see also Patch 522192
msofer Ticket [1374695fff]: 1 change [History diff]2006-09-30 01:00:56
Log in (anonymous is fine) to add a comment.