From: SourceForge.net <no...@so...> - 2009-12-02 16:42:11
|
Feature Requests item #2906752, was opened at 2009-12-01 13:02 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=2906752&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 10. Objects Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: Pawel Pawlak (mickey_knox) Assigned to: Kevin B KENNY (kennykb) Summary: Retrieving current OEM encoding Initial Comment: 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). ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2009-12-02 16:42 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=2906752&group_id=10894 |