|
2009-12-02
| ||
| 23:42 | • Ticket [2906752fff] Retrieving current OEM encoding status still Open with 4... artifact: 4f92645394 user: dkf | |
| 22:56 | • Ticket [2906752fff]: 2 changes artifact: 09aee4c92a user: dkf | |
|
2009-12-01
| ||
| 20:03 | • Ticket [2906752fff]: 1 change artifact: cfdd794a9a user: mickey_knox | |
| 13:02 | • New ticket [2906752fff]. artifact: 1274d66bd1 user: mickey_knox | |
Retrieving current OEM encoding
Open2906752fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-12-01 13:02:35
OEM encoding is used on Windows by the console (.bat, .cmd files). If a string contains diacritical characters, it must be converted from ANSI to OEM encoding prior to writing it to a .bat file. Currently there's no way of getting the current OEM encoding in Tcl. I suggest extending the "encoding" command to accept the "oem" parameter, that will return the current OEM encoding (just as the "system" parameter returns the current ANSI encoding). I have no knowledge of OEM encoding on non-Windows systems, so I leave it to the experts (my first thought was it would just return the system encoding).
mickey_knox Ticket [2906752fff]: 1 change
[History diff]2009-12-01 20:03:18
dkf Ticket [2906752fff]: 2 changes
[History diff]2009-12-02 22:56:58
dkfplain2009-12-02 23:42:10
Probably easiest to make a windows-specific "oem" encoding. If such a thing is needed and not covered by one of our existing encodings, that is.
Log in (anonymous is fine) to add a comment.